ALSA fix + deactivating run_adding - Alex
[terminatorX.git] / src / tX_audiodevice.cc
index 45807fcf2cf611228bf4cc6f15344342f84c7f60..66c293cef38ce29d7a275d458ae8150f829a52ae 100644 (file)
@@ -211,7 +211,7 @@ int tX_audiodevice_alsa :: open()
        sscanf(globals.alsa_device, "%i-%i: %s", &card, &device, foo);
        sprintf(pcm_name, "hw:%i,%i", card, device);
        
-       if (snd_pcm_open(&pcm_handle, pcm_name, stream, SND_PCM_NONBLOCK) < 0) {
+       if (snd_pcm_open(&pcm_handle, pcm_name, stream, NULL) < 0) {
                tX_error("ALSA: Failed to access PCM device \"%s\"", pcm_name);
                return -1;
        }