summaryrefslogtreecommitdiff
path: root/gst/siren
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-04-21 11:48:22 +0100
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2014-10-30 15:21:15 +0000
commita5350f2d0ce0a59fb21afaaef5e519f2a3b93aa0 (patch)
tree74835b1496f6d440de06a63a6e20d47c11e1d57b /gst/siren
parent0df92790266c9416488301da53216f3c306408d0 (diff)
siren: fix sample rate list
It was using a 24000/24000/48000, but I think it meant to use 24000/32000/48000. Not 100% sure... https://en.wikipedia.org/wiki/G.722.1 has the list of supported bitrates. It's not clear whether the "flag" code maps to this, however. Coverity 206072
Diffstat (limited to 'gst/siren')
-rw-r--r--gst/siren/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/siren/common.c b/gst/siren/common.c
index 46a4877bb..ee77c7026 100644
--- a/gst/siren/common.c
+++ b/gst/siren/common.c
@@ -269,7 +269,7 @@ GetSirenCodecInfo (int flag, int sample_rate, int *number_of_coefs,
if (sample_rate == 24000)
*sample_rate_code = 1;
- else if (sample_rate == 24000)
+ else if (sample_rate == 32000)
*sample_rate_code = 2;
else if (sample_rate == 48000)
*sample_rate_code = 3;