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 <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
此提交包含在:
Takashi Sakamoto
2014-04-25 22:45:19 +09:00
提交者 Takashi Iwai
父節點 248b78027d
當前提交 fbbebd2c40
共有 5 個檔案被更改,包括 379 行新增0 行删除

查看文件

@@ -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;