diff options
author | Mark Spencer <markster@digium.com> | 2005-12-20 14:14:01 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-12-20 14:14:01 +0000 |
commit | 93d1d0dcfb9cd92a04b19a9cc73438665101a727 (patch) | |
tree | c86bfed960e922ecaf2d590fe1f439b6cbdb5b0d /apps/app_meetme.c | |
parent | d6b8ce392180cf2a2e348619f56c4139b3a55862 (diff) |
Don't bother decode on muted participants
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index d966cfd27..4333901cb 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1312,10 +1312,10 @@ static int conf_run(struct ast_channel *chan, struct ast_conference *conf, int c user->zapchannel = !retryzap; goto zapretry; } - if (!(confflags & CONFFLAG_MONITOR)) - f = ast_read(c); - else + if ((confflags & CONFFLAG_MONITOR) || (user->adminflags & ADMINFLAG_MUTED)) f = ast_read_noaudio(c); + else + f = ast_read(c); if (!f) break; if ((f->frametype == AST_FRAME_VOICE) && (f->subclass == AST_FORMAT_SLINEAR)) { |