On Mon, 11 Mar 2002, Ulrich Zadow wrote:
> Hi,
>
> snd_pcm_open() hangs on our machines about 1/10 of the time (ALSA 0.9.12, RME and
>VIA686 cards). Our code looks about like this:
>
> snd_pcm_t * myDevice;
> cerr << "Opening sound device...";
> err = snd_pcm_open (&myDevice, "plughw:0,0", SND_PCM_PLAYBACK, 0);
> if (err < 0) {
> cerr << "failed." << endl;
> } else {
> cerr << "ok." << endl;
> }
>
> The output of this piece of code is just "Opening sound device...". We're pretty
>sure that we're closing the device correctly before this happens.
>
> Any ideas?
It looks like that another task uses given device (perhaps some daemon
like arts).
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel