forked from len0rd/rockbox
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
|
@ -1235,7 +1235,7 @@ enum codec_status codec_main(enum codec_entry_call_reason reason)
|
|||
{
|
||||
if (reason == CODEC_LOAD) {
|
||||
/* Make use of 44.1khz */
|
||||
ci->configure(DSP_SWITCH_FREQUENCY, SAMPLE_RATE);
|
||||
ci->configure(DSP_SET_FREQUENCY, SAMPLE_RATE);
|
||||
/* Sample depth is 28 bit host endian */
|
||||
ci->configure(DSP_SET_SAMPLE_DEPTH, 28);
|
||||
/* Mono output */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue