Re: Pls don't require exclusive Alsa audio device access, use snd_pcm_dmix_open ()

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

 



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@xxxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux