Run codec at 1 x baseband sample rate. Do not use CPLD decimator.

Codec performance appears to be unaffected by <8MHz sample rate. Saves a bit of power, eliminates dependency on CPLD decimation feature.
This commit is contained in:
Jared Boone 2015-12-29 10:55:55 -08:00
parent 549e5b9ddc
commit df593c2f0f
4 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ AISModel::AISModel() {
receiver_model.set_baseband_configuration({
.mode = 3,
.sampling_rate = 2457600,
.decimation_factor = 4,
.decimation_factor = 1,
});
receiver_model.set_baseband_bandwidth(1750000);

View File

@ -30,7 +30,7 @@ AnalogAudioModel::AnalogAudioModel(ReceiverModel::Mode mode) {
receiver_model.set_baseband_configuration({
.mode = toUType(mode),
.sampling_rate = 3072000,
.decimation_factor = 4,
.decimation_factor = 1,
});
receiver_model.set_baseband_bandwidth(1750000);
}

View File

@ -93,7 +93,7 @@ private:
BasebandConfiguration baseband_configuration {
.mode = 1, /* TODO: Enum! */
.sampling_rate = 3072000,
.decimation_factor = 4,
.decimation_factor = 1,
};
volume_t headphone_volume_ { -43.0_dB };
ClockManager& clock_manager;

View File

@ -30,7 +30,7 @@ TPMSModel::TPMSModel() {
receiver_model.set_baseband_configuration({
.mode = 5,
.sampling_rate = 2457600,
.decimation_factor = 4,
.decimation_factor = 1,
});
receiver_model.set_baseband_bandwidth(1750000);