Files
asterisk/main
Michael Walton 7af7490e42 audiohooks: Remove redundant codec translations when using audiohooks
The main frame read and write handlers in main/channel.c don't use the
optimum placement in the processing flow for calling audiohooks
callbacks, as far as codec translation is concerned. This change places
the audiohooks callback code:
 * After the channel read translation if the frame is not linear before
the translation, thereby increasing the chance that the frame is linear
as required by audiohooks
 * Before the channel write translation if the frame is linear at this
point
This prevents the audiohooks code from instantiating additional
translation paths to/from linear where a linear frame format is already
available, saving valuable CPU cycles

ASTERISK-26419

Change-Id: I6edd5771f0740e758e7eb42558b953f046c01f8f
2016-10-10 11:41:42 -05:00
..
2016-06-08 20:37:08 +03:00
2016-06-22 12:23:44 -05:00
2016-08-19 20:16:36 -04:00
2015-06-10 18:06:15 -05:00
2016-06-02 22:57:49 +03:00
2016-08-24 10:41:58 +02:00
2016-08-19 20:16:36 -04:00
2016-08-19 20:16:36 -04:00
2016-08-19 20:16:36 -04:00
2016-06-08 20:37:08 +03:00
2016-09-30 19:25:40 -04:00