]> git.ipfire.org Git - thirdparty/asterisk.git/commit
format_pcm: Correct behavior of fseek and ftell for G.722
authorSean Bright <sean.bright@gmail.com>
Wed, 18 Apr 2018 18:40:49 +0000 (14:40 -0400)
committerSean Bright <sean.bright@gmail.com>
Wed, 18 Apr 2018 18:40:52 +0000 (14:40 -0400)
commit7b05184bca4bad0edd809d7605f513cc9c9c5cd7
tree895a323345278cdd3cfd9212a31f83134b041f11
parente516c34c027840386fb1dffb8d29c088d41358f2
format_pcm: Correct behavior of fseek and ftell for G.722

There are twice as many samples in the same number of bytes, so redefine
some of the G.722 format functions in terms of their PCM counterparts.

Change-Id: I6a8c7352624b930a5f2d9e4857f75283fa5dd9f9
formats/format_pcm.c