mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 11:33:54 +01:00
fix?
This commit is contained in:
@@ -530,8 +530,10 @@ int main(int argc, char **argv) {
|
||||
if(mpower > mpx_power) {
|
||||
current_audio_level *= 0.95f;
|
||||
audio_level_adjusted = 1;
|
||||
if (current_audio_level < 0.1f) current_audio_level = 0.1f;
|
||||
} else if(audio_level_adjusted && mpower < (mpx_power * 0.5)) {
|
||||
current_audio_level /= 0.95f;
|
||||
if (current_audio_level > 1.0f) current_audio_level = 1.0f;
|
||||
}
|
||||
|
||||
output[i] *= master_volume;
|
||||
|
||||
Reference in New Issue
Block a user