Once an audiohook is attached to a channel, we continue to transcode all of the
authorSean Bright <sean@malleable.com>
Tue, 27 Dec 2011 17:17:58 +0000 (17:17 +0000)
committerSean Bright <sean@malleable.com>
Tue, 27 Dec 2011 17:17:58 +0000 (17:17 +0000)
commit8017be6fa9e1c9e3fa0a98523c6e82d5eb239cdd
treea8ec146447d9f6880cbd935da8039a51c687bbd1
parentb0243fb57c03b8e98e8ccb7e08c3215c42c0bc8b
Once an audiohook is attached to a channel, we continue to transcode all of the
frames, even after all of the hooks are detached.  This patch short-cicuits us
out before we transcode unnecessarily.
........

Merged revisions 349144 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 349145 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@349146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/audiohook.c