mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-11 07:19:34 -05:00
Solve mic to hp small side effect (#1523)
* Allowing to hear Mic at TX time with Receiver ON * Solve small side effect to Audio RX App
This commit is contained in:
parent
a1496c1b79
commit
0feacfa102
@ -662,8 +662,10 @@ MicTXView::~MicTXView() {
|
|||||||
audio::input::stop();
|
audio::input::stop();
|
||||||
transmitter_model.set_target_frequency(tx_frequency);
|
transmitter_model.set_target_frequency(tx_frequency);
|
||||||
transmitter_model.disable();
|
transmitter_model.disable();
|
||||||
if (rx_enabled) // Also turn off audio rx if enabled
|
if (rx_enabled) { // Also turn off both (audio rx if enabled, and disable mic_loop to HP)
|
||||||
rxaudio(false);
|
rxaudio(false);
|
||||||
|
audio::input::loopback_mic_to_hp_disable(); // Leave Mic audio off in the main menu (as original audio path, otherwise we had No audio in next "Audio App")
|
||||||
|
}
|
||||||
baseband::shutdown();
|
baseband::shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user