]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_mp3: Force output to 16 bits in mpg123
authorCarlos Oliva <carlos.oliva@invoxcontact.com>
Mon, 13 Sep 2021 15:18:11 +0000 (17:18 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 15 Sep 2021 17:19:23 +0000 (12:19 -0500)
commit72790f54554d38fd1c48f3d573cb0fc2e6b1a5e5
tree6cb8afe94c2770282849cf7e82f5024d811dc265
parent425bd97f0d34b8e54ed6bfdd38eded46a6549af4
app_mp3: Force output to 16 bits in mpg123

In new mpg123 versions (since 1.26) the default output is 32 bits
Asterisk expects the output in 16 bits, so we force the output to be on 16 bits.
It will work wit new and old versions of mpg123.
Thanks Thomas Orgis <thomas-forum@orgis.org> for giving the key!

ASTERISK-29635 #close

Change-Id: I88c7740118b5af4e895bd8b765b68ed5c11fc816
apps/app_mp3.c