From 3fd25dcbed6ef964b828698facf6cc15189441ca Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 5 May 2013 00:48:40 -0400 Subject: 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 --- lib/rbcodec/codecs/flac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbcodec/codecs/flac.c') diff --git a/lib/rbcodec/codecs/flac.c b/lib/rbcodec/codecs/flac.c index e8588d3..3c5545d 100644 --- a/lib/rbcodec/codecs/flac.c +++ b/lib/rbcodec/codecs/flac.c @@ -476,7 +476,7 @@ enum codec_status codec_run(void) return CODEC_ERROR; } - ci->configure(DSP_SWITCH_FREQUENCY, ci->id3->frequency); + ci->configure(DSP_SET_FREQUENCY, ci->id3->frequency); ci->configure(DSP_SET_STEREO_MODE, fc.channels == 1 ? STEREO_MONO : STEREO_NONINTERLEAVED); codec_set_replaygain(ci->id3); -- cgit v1.1