Re-add MicTX workaround (#1170)

This commit is contained in:
Kyle Reed 2023-06-19 12:05:08 -07:00 committed by GitHub
parent 7ebf3d3cdd
commit f83027d451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -595,6 +595,12 @@ MicTXView::MicTXView(
}
};
// These shouldn't be necessary, but because
// this app uses both transmitter_model and directly
// configures the baseband, these end up being required.
transmitter_model.set_sampling_rate(sampling_rate);
transmitter_model.set_baseband_bandwidth(1750000);
set_tx(false);
audio::set_rate(audio::Rate::Hz_24000);