summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/speex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/speex.c b/apps/codecs/speex.c
index d3f0f39..c786f40 100644
--- a/apps/codecs/speex.c
+++ b/apps/codecs/speex.c
@@ -500,7 +500,7 @@ next_page:
rb->id3->vbr = true;
rb->id3->frequency = samplerate;
- rb->configure(DSP_SET_FREQUENCY, (int *)samplerate);
+ rb->configure(DSP_SET_FREQUENCY, (int *)(rb->id3->frequency));
/* Speex header in its own page, add the whole page
headersize */