summaryrefslogtreecommitdiff
path: root/sound/usb/line6/capture.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-23 18:25:03 +0300
committerTakashi Iwai <tiwai@suse.de>2015-01-28 09:21:39 +0300
commite90576c5955c83cd7e8c191b47f70d1946015041 (patch)
treead2fe83b3cf4f2da9ab89bb44c81d66fb37a5a5b /sound/usb/line6/capture.h
parentccaac9ed79c6051733f781a1cd639d488696f512 (diff)
downloadlinux-e90576c5955c83cd7e8c191b47f70d1946015041.tar.xz
ALSA: line6: Consolidate PCM stream buffer allocation and free
The PCM stream buffer allocation and free are identical for both playback and capture streams. Provide single helper functions. These are used only in pcm.c, thus they can be even static. Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/capture.h')
-rw-r--r--sound/usb/line6/capture.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/usb/line6/capture.h b/sound/usb/line6/capture.h
index 3cc71bc70b21..db062e7200a6 100644
--- a/sound/usb/line6/capture.h
+++ b/sound/usb/line6/capture.h
@@ -24,7 +24,6 @@ extern void line6_capture_copy(struct snd_line6_pcm *line6pcm, char *fbuf,
extern void line6_capture_check_period(struct snd_line6_pcm *line6pcm,
int length);
extern int line6_create_audio_in_urbs(struct snd_line6_pcm *line6pcm);
-extern void line6_free_capture_buffer(struct snd_line6_pcm *line6pcm);
extern int line6_submit_audio_in_all_urbs(struct snd_line6_pcm *line6pcm);
extern int snd_line6_capture_trigger(struct snd_line6_pcm *line6pcm, int cmd);