Merge pull request #555 from ArjanOnwezen/fix-scanner-only-audio-output-the-first-tim

Quick fix (as figures out by @bluegizmo83) to make sure WM8731S chips…
This commit is contained in:
ArjanOnwezen 2022-04-08 15:59:18 +02:00 committed by GitHub
commit a81d630d93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -484,6 +484,7 @@ void ScannerView::scan_pause() {
scan_thread->set_freq_lock(0); //Reset the scanner lock (because user paused, or MAX_FREQ_LOCK reached) for next freq scan
scan_thread->set_scanning(false); // WE STOP SCANNING
audio::output::start();
on_headphone_volume_changed(field_volume.value()); // quick fix to make sure WM8731S chips don't stay silent after pause
}
}