Things for Sonar - Alex
[terminatorX.git] / src / tX_audiodevice.cc
index c29871e9373d23e15b0c04b1755eed3252fe0531..45807fcf2cf611228bf4cc6f15344342f84c7f60 100644 (file)
@@ -303,7 +303,10 @@ int tX_audiodevice_alsa :: open()
                return -1;
        }
        
-       //snd_pcm_hw_params_free (hw_params);
+       if (globals.alsa_free_hwstats) {
+               snd_pcm_hw_params_free (hw_params);
+       }
+       
        return 0; //snd_pcm_prepare(pcm_handle);
 }