prevent popup deactivation while button_down
[goodguy/history.git] / cinelerra-5.0 / cinelerra / audioalsa.C
index 60604d43619c85b4d9f67f92ef596e6c74e7982d..962755e8c0eb5dbfed2fcd03ce5eb5fe373dd581 100644 (file)
@@ -512,6 +512,15 @@ int AudioALSA::write_buffer(char *buffer, int size)
        int count = samples;
        snd_pcm_sframes_t delay = 0;
 
+// static FILE *debug_fd = 0;
+// if(!debug_fd)
+// {
+//     debug_fd = fopen("/tmp/debug.pcm", "w");
+// }
+// fwrite(buffer, size, 1, debug_fd);
+// fflush(debug_fd);
+
+
        if(!get_output()) return 0;
        if( buffer_position == 0 )
                timer->update();