mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-09 10:15:18 -04:00
Display modal error when RecordView experiences an error.
This commit is contained in:
parent
9dc12fca3c
commit
8de12ff570
2 changed files with 7 additions and 0 deletions
|
@ -139,6 +139,10 @@ AnalogAudioView::AnalogAudioView(
|
|||
this->on_headphone_volume_changed(v);
|
||||
};
|
||||
|
||||
record_view.on_error = [&nav](std::string message) {
|
||||
nav.push<ModalMessageView>(message);
|
||||
};
|
||||
|
||||
audio::output::start();
|
||||
|
||||
update_modulation(static_cast<ReceiverModel::Mode>(modulation));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue