Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consti dev #681

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion app/telemetry/settings/documentedparam.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,9 +587,17 @@ static std::vector<std::shared_ptr<XParam>> get_parameters_list(){
"No effect if joy rc is disabled.");
}
{
append_int(ret,"AUDIO_ENABLE",
/*append_int(ret,"AUDIO_ENABLE",
ImprovedIntSetting::createEnumEnableDisable(),
"enables / disables audio streaming from air to ground. In development. Enabling automatically restarts the air unit !"
);*/
auto audio_items=std::vector<ImprovedIntSetting::Item>{
{"DISABLE",0},
{"ENABLE",1},
{"TEST",100},
};
append_int(ret,"AUDIO_ENABLE",ImprovedIntSetting(0,1000000,audio_items),
"enables / disables audio streaming from air to ground. In development. Use test mode to validate your ground audio output."
);
}
return ret;
Expand Down
2 changes: 1 addition & 1 deletion qml/ui/elements/AppSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ Settings {
property bool dev_force_show_full_screen: false

// experimental
property bool dev_enable_live_audio_playback: false
property bool dev_enable_live_audio_playback: true
// might / might not work
property bool dev_set_swap_interval_zero: false

Expand Down
Loading