repeat play, in/out <> shortcuts, append to proj wording, cleanup
[goodguy/history.git] / cinelerra-5.1 / cinelerra / audioidevice.C
index 65874ddd752319610b1a91888234ed483ea20f89..acc870576e3c41921af6cf91b69cc8d230f6a8d9 100644 (file)
@@ -200,6 +200,7 @@ while( is_recording ) {
                                else {
                                        --input_buffer_count;
                                        printf("AudioDevice::run_input: buffer overflow\n");
+                                       result = 1;
                                }
                                ibfr = &input[input_buffer_in];
                                ibfr->size = 0;
@@ -208,7 +209,7 @@ while( is_recording ) {
                        buffer_lock->unlock();
                        polling_lock->unlock();
                }
-               else {
+               if( result ) {
                        perror("AudioDevice::run_input");
                        usleep(250000);
                }