]> git.ipfire.org Git - thirdparty/asterisk.git/commit
translate.c do not log WARNING on empty audio frame
authorAlexei Gradinari <alex2grad@gmail.com>
Fri, 14 Jun 2019 20:45:39 +0000 (16:45 -0400)
committerAlexei Gradinari <alex2grad@gmail.com>
Tue, 18 Jun 2019 16:40:38 +0000 (10:40 -0600)
commite3866cb7141eb376c2daa20042ec797a92892ee6
tree2c7db2648e804dd0270b1fd18be7d7fbeffe717d
parenta8e5cf557d188070dd97c80a2512ea65b58b5190
translate.c do not log WARNING on empty audio frame

There is WARNING "no samples for ..." on each Playtones.
The function ast_playtones_start calls ast_activate_generator,
which calls ast_prod.
The function ast_prod calls ast_write with empty audio frame.
In this case it's spam log.

Change-Id: Id4ac309489d9ff281bad02abdef341cecdede660
main/translate.c