diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-10-09 21:37:23 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-10-09 21:37:23 +0000 |
commit | f5d5eb5e19282177f875c5670dd04ca99823a171 (patch) | |
tree | f543e9e0621f0f91851b3a80186986917cb10651 /res | |
parent | 9a56bae67a7ef76912e8e4f2bdc1555cff79f0f5 (diff) |
Fudges for wav16, just like wav49
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/res_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_monitor.c b/res/res_monitor.c index f3be16f7a..26b18157a 100644 --- a/res/res_monitor.c +++ b/res/res_monitor.c @@ -324,7 +324,7 @@ int ast_monitor_stop(struct ast_channel *chan, int need_lock) if (chan->monitor->joinfiles && !ast_strlen_zero(chan->monitor->filename_base)) { char tmp[1024]; char tmp2[1024]; - const char *format = !strcasecmp(chan->monitor->format,"wav49") ? "WAV" : chan->monitor->format; + const char *format = !strcasecmp(chan->monitor->format,"wav49") ? "WAV" : !strcasecmp(chan->monitor->format, "wav16") ? "Wav" : chan->monitor->format; char *name = chan->monitor->filename_base; int directory = strchr(name, '/') ? 1 : 0; const char *dir = directory ? "" : ast_config_AST_MONITOR_DIR; |