mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Purge the usage of DSP_SWITCH_FREQUENCY.
DSP_SWITCH_FREQUENCY has been deprecated and the same enumerated value as DSP_SET_FREQUENCY since major DSP revisions were committed. This task should have been performed much earlier but, oh well, do it now. Change-Id: I3f30d651b894136a07c7e17f78fc16a7d98631ff
This commit is contained in:
parent
fd00d3cf48
commit
3fd25dcbed
27 changed files with 27 additions and 28 deletions
|
@ -342,7 +342,7 @@ enum codec_status codec_run(void)
|
|||
|
||||
file_end = 0;
|
||||
|
||||
ci->configure(DSP_SWITCH_FREQUENCY, ci->id3->frequency);
|
||||
ci->configure(DSP_SET_FREQUENCY, ci->id3->frequency);
|
||||
current_frequency = ci->id3->frequency;
|
||||
codec_set_replaygain(ci->id3);
|
||||
|
||||
|
@ -475,7 +475,7 @@ enum codec_status codec_run(void)
|
|||
/* Check if sample rate and stereo settings changed in this frame. */
|
||||
if (frame.header.samplerate != current_frequency) {
|
||||
current_frequency = frame.header.samplerate;
|
||||
ci->configure(DSP_SWITCH_FREQUENCY, current_frequency);
|
||||
ci->configure(DSP_SET_FREQUENCY, current_frequency);
|
||||
}
|
||||
if (MAD_NCHANNELS(&frame.header) == 2) {
|
||||
if (current_stereo_mode != STEREO_NONINTERLEAVED) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue