diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-04-14 14:52:59 -0400 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-04-17 14:51:11 -0500 |
commit | 6c0ab9afa775d30fcc498072eee7f660202fa51e (patch) | |
tree | f3e5fd04227e3d24f6f71ae9b6176791136fb663 /addons | |
parent | 2e6075c51fe0466d7410b02efb68f1d47aedb284 (diff) |
format_wav: Read 16khz wav samples properly
When opening a PCM wave file for reading, we aren't tracking the
frequency of the opened file, so we treat 16khz files as 8khz and do
half reads.
This patch also cleans up some of the data types and an unnecessarily
complex `if` expression.
ASTERISK-26613 #close
Reported by: Vitaly K
Change-Id: I05f8b263058dc573ea8ffe0c62e7964506e11815
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions