audiomonitor: use samplebuffer directly
Pushing bytes was broken and pretty much pointless anyway, this should be faster and easier to use too
This commit is contained in:
@@ -571,7 +571,7 @@ void ViewerWidget::ReceivedAudioBufferForScrubbing()
|
||||
if (!AudioManager::instance()->PushToOutput(audio_processor_.to(), packed, &error)) {
|
||||
Core::instance()->ShowStatusBarMessage(tr("Audio scrubbing failed: %1").arg(error));
|
||||
}
|
||||
AudioMonitor::PushBytesOnAll(packed);
|
||||
AudioMonitor::PushSampleBufferOnAll(samples);
|
||||
}
|
||||
} else {
|
||||
qCritical() << "Failed to process audio for scrubbing:" << r;
|
||||
|
||||
Reference in New Issue
Block a user