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



Jaroslav Kysela wrote:
> 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.

+1 Dmix should not be enforced... this can be handled at a lower
level.... e.g. with dmix configured in alsa config or by using
pulseaudio instead of dmix (my preferred solution so I can switch from
my internal speakers to my usb headset should I plug it in mid-call).

Col.



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