of duplicating that logic.
........
Merged revisions 349289 from http://svn.asterisk.org/svn/asterisk/branches/1.8
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@349290
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
int removed = 0;
/* Don't translate our frame if we aren't going to bother to use it */
- if (AST_LIST_EMPTY(&audiohook_list->spy_list)
- && AST_LIST_EMPTY(&audiohook_list->whisper_list)
- && AST_LIST_EMPTY(&audiohook_list->manipulate_list))
+ if (ast_audiohook_write_list_empty(audiohook_list))
return end_frame;
/* ---Part_1. translate start_frame to SLINEAR if necessary. */