From fbbebd2c40795e87f1280ca4d963f7cbe1c83168 Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Fri, 25 Apr 2014 22:45:19 +0900 Subject: ALSA: bebob: Add PCM interface This commit adds a functionality to capture/playback PCM samples. When AMDTP stream is already running for PCM or the source of clock is not internal, available sampling rate is limited at current one. Signed-off-by: Takashi Sakamoto Signed-off-by: Takashi Iwai --- sound/firewire/bebob/bebob.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sound/firewire/bebob/bebob.c') diff --git a/sound/firewire/bebob/bebob.c b/sound/firewire/bebob/bebob.c index 383df9a22004..dbd12c360046 100644 --- a/sound/firewire/bebob/bebob.c +++ b/sound/firewire/bebob/bebob.c @@ -171,6 +171,10 @@ bebob_probe(struct fw_unit *unit, goto error; } + err = snd_bebob_create_pcm_devices(bebob); + if (err < 0) + goto error; + err = snd_bebob_stream_init_duplex(bebob); if (err < 0) goto error; -- cgit v1.2.3