Re: [Ekiga-devel-list] [alsa-devel] Pls don't require exclusive Alsa audio device access, use snd_pcm_dmix_open ()



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]