mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-12 19:14:16 +00:00
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
This commit is contained in:
parent
0df9279026
commit
a5350f2d0c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue