19 Mar
2015
19 Mar
'15
11:51 p.m.
On Mar 20 2015 07:46, Takashi Sakamoto wrote:
I can't understand what character devices you mention about. If you mention about ALSA PCM character devices (usually /dev/snd/pcmC%uD%d[p|c]), it's yes. In fact, one ALSA application can use ALSA PCM character device for one direction (playback/capture). So the access by any other applications causes -EBUSY. (here, I ignore alsa-lib's PCM direct mixing layer.)
I'll correct the 'ALSA application' with 'ALSA PCM application'. The ALSA PCM application and ALSA Control application are different because they access to different character devices and use different set of ioctl(2) interfaces or different API set given by alsa-lib.
Regards
Takashi Sakamoto