[alsa-devel] Pls don't require exclusive Alsa audio device access, use snd_pcm_dmix_open ()
Jaroslav Kysela
perex at perex.cz
Wed Nov 28 10:17:09 CET 2007
On Wed, 28 Nov 2007, thomas schorpp wrote:
> > + if (_snd_pcm_dmix_open (&os_handle, real_device_name, snd_config_t*
> > root, snd_config_t* sconf, stream, SND_PCM_NONBLOCK) < 0) {
Uff. It's really wrong. What you're trying to do? Simply use 'default'
device name for snd_pcm_open() which should have defined dmix access if
required. And don't forget to allow specify (force) ALSA device name to
users if someone wants a special setup.
Jaroslav
-----
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project
More information about the Alsa-devel
mailing list