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>
此提交包含在:
@@ -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;
|
||||
|
新增問題並參考
封鎖使用者