Solve_quality_problem_low_bit_rate_100k_150k_REC_Capture_App (#1367)

* Solve_low_bit_rate_150k_Capture_App

* Applying  review comments.

* format issues

* Adding back requested previous low bit rates
This commit is contained in:
Brumi-2021
2023-08-12 16:20:15 +02:00
committed by GitHub
parent cb0a4854f5
commit 853ca2ef53
7 changed files with 17 additions and 9 deletions

View File

@@ -113,7 +113,7 @@ uint32_t RecordView::set_sampling_rate(uint32_t new_sampling_rate) {
* They are ok as recorded spectrum indication, but they should not be used by Replay app. (the voice speed will be accelerated)
* We keep original black background in all the correct IQ .C16 files BW's Options. */
if (actual_sampling_rate > 8'000'000) { // Till fw 1.7.4 BW limit yellow REC button was >500khz, now BW >1Mhz (fs=8*BW), (>1Mhz ..2M75)
if ((actual_sampling_rate > 8'000'000) || (actual_sampling_rate <= 1'280'000)) { // yellow REC button means not ok for REC, BW >1Mhz , BW < 150khz
button_record.set_background(ui::Color::yellow());
} else {
button_record.set_background(ui::Color::black());