summaryrefslogtreecommitdiffstats
path: root/sound/usb/line6/pcm.h
diff options
context:
space:
mode:
authorTakashi Iwai2015-01-27 15:41:27 +0100
committerTakashi Iwai2015-01-28 07:22:45 +0100
commit2954f914f2816738b800be7909b771f30bf6a856 (patch)
treef8781dd08a016fcbe7053e0362864d76d9d448e8 /sound/usb/line6/pcm.h
parentALSA: line6: Reorganize PCM stream handling (diff)
downloadkernel-qcow2-linux-2954f914f2816738b800be7909b771f30bf6a856.tar.gz
kernel-qcow2-linux-2954f914f2816738b800be7909b771f30bf6a856.tar.xz
kernel-qcow2-linux-2954f914f2816738b800be7909b771f30bf6a856.zip
ALSA: line6: Make common PCM pointer callback
Both playback and capture callbacks are identical, so let's merge them. Tested-by: Chris Rorvick <chris@rorvick.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/pcm.h')
-rw-r--r--sound/usb/line6/pcm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/line6/pcm.h b/sound/usb/line6/pcm.h
index 66f603dfa34e..42d3e6fc2c61 100644
--- a/sound/usb/line6/pcm.h
+++ b/sound/usb/line6/pcm.h
@@ -214,6 +214,7 @@ extern int snd_line6_prepare(struct snd_pcm_substream *substream);
extern int snd_line6_hw_params(struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *hw_params);
extern int snd_line6_hw_free(struct snd_pcm_substream *substream);
+extern snd_pcm_uframes_t snd_line6_pointer(struct snd_pcm_substream *substream);
extern void line6_pcm_disconnect(struct snd_line6_pcm *line6pcm);
extern int line6_pcm_acquire(struct snd_line6_pcm *line6pcm, int type);
extern void line6_pcm_release(struct snd_line6_pcm *line6pcm, int type);