mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-07-30 16:29:15 +02:00
print power
This commit is contained in:
@@ -531,6 +531,7 @@ int main(int argc, char **argv) {
|
|||||||
float attenuation_db = excess * 0.5f;
|
float attenuation_db = excess * 0.5f;
|
||||||
float attenuation_linear = dbr_to_deviation(attenuation_db)/75000;
|
float attenuation_linear = dbr_to_deviation(attenuation_db)/75000;
|
||||||
output[i] *= attenuation_linear;
|
output[i] *= attenuation_linear;
|
||||||
|
printf("Overpower! %f*%f/%f\n", mpower, attenuation_linear, mpx_power);
|
||||||
}
|
}
|
||||||
|
|
||||||
output[i] *= master_volume;
|
output[i] *= master_volume;
|
||||||
|
|||||||
Reference in New Issue
Block a user