temporarily disabled unstable footage viewer audio monitor

This commit is contained in:
itsmattkc
2018-10-19 21:26:56 +11:00
parent 84347a0988
commit 856128688d
2 changed files with 6 additions and 5 deletions
+1
View File
@@ -211,6 +211,7 @@ void Viewer::play() {
playing = true;
set_playpause_icon(false);
playback_updater.start();
timer_update();
audio_thread->notifyReceiver();
}
}
+5 -5
View File
@@ -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);