28 Nov
2007
28 Nov
'07
10:17 a.m.
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@perex.cz Linux Kernel Sound Maintainer ALSA Project