summaryrefslogtreecommitdiff
path: root/lib/rbcodec/codecs/aiff.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2013-05-05 00:48:40 -0400
committerMichael Sevakis <jethead71@rockbox.org>2013-05-05 00:48:40 -0400
commit3fd25dcbed6ef964b828698facf6cc15189441ca (patch)
tree80638257c551d1d8b063dca5a894f72603dfb0e9 /lib/rbcodec/codecs/aiff.c
parentfd00d3cf4815e8a5bd5ec3df405e449b2bd0083a (diff)
downloadrockbox-3fd25dcbed6ef964b828698facf6cc15189441ca.tar.gz
rockbox-3fd25dcbed6ef964b828698facf6cc15189441ca.zip
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
Diffstat (limited to 'lib/rbcodec/codecs/aiff.c')
-rw-r--r--lib/rbcodec/codecs/aiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/aiff.c b/lib/rbcodec/codecs/aiff.c
index 333bcd0455..3bedfa5760 100644
--- a/lib/rbcodec/codecs/aiff.c
+++ b/lib/rbcodec/codecs/aiff.c
@@ -234,7 +234,7 @@ enum codec_status codec_run(void)
234 return CODEC_ERROR; 234 return CODEC_ERROR;
235 } 235 }
236 236
237 ci->configure(DSP_SWITCH_FREQUENCY, ci->id3->frequency); 237 ci->configure(DSP_SET_FREQUENCY, ci->id3->frequency);
238 238
239 if (format.channels == 2) { 239 if (format.channels == 2) {
240 ci->configure(DSP_SET_STEREO_MODE, STEREO_INTERLEAVED); 240 ci->configure(DSP_SET_STEREO_MODE, STEREO_INTERLEAVED);