temporarily disabled unstable footage viewer audio monitor
This commit is contained in:
@@ -211,6 +211,7 @@ void Viewer::play() {
|
||||
playing = true;
|
||||
set_playpause_icon(false);
|
||||
playback_updater.start();
|
||||
timer_update();
|
||||
audio_thread->notifyReceiver();
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -136,11 +136,11 @@ int AudioSenderThread::send_audio_to_output(int offset, int max) {
|
||||
int audio_ibuffer_limit = audio_ibuffer_read + actual_write;
|
||||
|
||||
// send samples to audio monitor cache
|
||||
// TODO make this work for the footage viewer
|
||||
/*Sequence* s = NULL;
|
||||
if (panel_footage_viewer->playing) {
|
||||
// TODO make this work for the footage viewer - currently, enabling it causes crash due to an ASSERT
|
||||
Sequence* s = NULL;
|
||||
/*if (panel_footage_viewer->playing) {
|
||||
s = panel_footage_viewer->seq;
|
||||
}
|
||||
}*/
|
||||
if (panel_sequence_viewer->playing) {
|
||||
s = panel_sequence_viewer->seq;
|
||||
}
|
||||
@@ -169,7 +169,7 @@ int AudioSenderThread::send_audio_to_output(int offset, int max) {
|
||||
panel_timeline->ui->audio_monitor->sample_cache.append(samples);
|
||||
buffer_offset = next_buffer_offset;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
memset(audio_ibuffer+offset, 0, actual_write);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user