summaryrefslogtreecommitdiff
path: root/sound/firewire/digi00x/digi00x.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2015-09-30 03:39:20 +0300
committerTakashi Iwai <tiwai@suse.de>2015-09-30 16:36:40 +0300
commit0120d0f1fe3bbf6c6a450056be56a70c409cf7a3 (patch)
tree4024ee7b4dc3353ff238259b92b50afbef8fe725 /sound/firewire/digi00x/digi00x.h
parent927f17dc3a517128f07bbc1634fb25ce2587dc6f (diff)
downloadlinux-0120d0f1fe3bbf6c6a450056be56a70c409cf7a3.tar.xz
ALSA: firewire-digi00x: add PCM functionality
This commit adds PCM functionality to transmit/receive PCM samples. Any PCM substreams are jointed because incoming/outgoing AMDTP streams are bound. When one of PCM substream is running or external clock source is selected, current sampling rate is used. Else, the sampling rate is changed as an userspace application requests. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/digi00x/digi00x.h')
-rw-r--r--sound/firewire/digi00x/digi00x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/firewire/digi00x/digi00x.h b/sound/firewire/digi00x/digi00x.h
index 9ee259f8daa7..199064504a55 100644
--- a/sound/firewire/digi00x/digi00x.h
+++ b/sound/firewire/digi00x/digi00x.h
@@ -119,4 +119,7 @@ void snd_dg00x_stream_update_duplex(struct snd_dg00x *dg00x);
void snd_dg00x_stream_destroy_duplex(struct snd_dg00x *dg00x);
void snd_dg00x_proc_init(struct snd_dg00x *dg00x);
+
+int snd_dg00x_create_pcm_devices(struct snd_dg00x *dg00x);
+
#endif