blob: 890b21bff18c7daa43d27be73bf92858530135f8 [file] [log] [blame]
Markus Grabner705ecec2009-02-27 19:43:04 -08001/*
Chris Rorvickc078a4a2015-01-20 02:20:50 -06002 * Line 6 Linux USB driver
Markus Grabner705ecec2009-02-27 19:43:04 -08003 *
Markus Grabner1027f4762010-08-12 01:35:30 +02004 * Copyright (C) 2004-2010 Markus Grabner (grabner@icg.tugraz.at)
Markus Grabner705ecec2009-02-27 19:43:04 -08005 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation, version 2.
9 *
10 */
11
12#ifndef CAPTURE_H
13#define CAPTURE_H
14
Markus Grabner705ecec2009-02-27 19:43:04 -080015#include <sound/pcm.h>
16
Markus Grabner1027f4762010-08-12 01:35:30 +020017#include "driver.h"
Markus Grabner705ecec2009-02-27 19:43:04 -080018#include "pcm.h"
19
Markus Grabner705ecec2009-02-27 19:43:04 -080020extern struct snd_pcm_ops snd_line6_capture_ops;
21
Markus Grabner1027f4762010-08-12 01:35:30 +020022extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
23 int fsize);
Markus Grabnere1a164d2010-08-23 01:08:25 +020024extern void line6_capture_check_period(struct snd_line6_pcm *line6pcm,
25 int length);
Markus Grabner1027f4762010-08-12 01:35:30 +020026extern int line6_create_audio_in_urbs(struct snd_line6_pcm *line6pcm);
27extern int line6_submit_audio_in_all_urbs(struct snd_line6_pcm *line6pcm);
Markus Grabner705ecec2009-02-27 19:43:04 -080028
29#endif