diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2013-05-05 00:48:40 -0400 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2013-05-05 00:48:40 -0400 |
| commit | 3fd25dcbed6ef964b828698facf6cc15189441ca (patch) | |
| tree | 80638257c551d1d8b063dca5a894f72603dfb0e9 /lib/rbcodec/codecs/mpc.c | |
| parent | fd00d3cf4815e8a5bd5ec3df405e449b2bd0083a (diff) | |
| download | rockbox-3fd25dcbed6ef964b828698facf6cc15189441ca.zip rockbox-3fd25dcbed6ef964b828698facf6cc15189441ca.tar.gz rockbox-3fd25dcbed6ef964b828698facf6cc15189441ca.tar.bz2 rockbox-3fd25dcbed6ef964b828698facf6cc15189441ca.tar.xz | |
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/mpc.c')
| -rw-r--r-- | lib/rbcodec/codecs/mpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/mpc.c b/lib/rbcodec/codecs/mpc.c index b2628f9..9db4024 100644 --- a/lib/rbcodec/codecs/mpc.c +++ b/lib/rbcodec/codecs/mpc.c @@ -102,7 +102,7 @@ enum codec_status codec_run(void) byterate = (mpc_uint32_t)(info.average_bitrate) / 8; frequency = info.sample_freq / 100; /* 0.1 kHz accuracy */ - ci->configure(DSP_SWITCH_FREQUENCY, info.sample_freq); + ci->configure(DSP_SET_FREQUENCY, info.sample_freq); /* Remark: rockbox offset is the file offset in bytes. So, estimate the * sample seek position from the file offset, the sampling frequency and |