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?

Regards,

  Uli
  

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to