[asterisk-dev] [Code Review] Preserve quality of wideband mixmonitor recordings.
David Vossel
reviewboard at asterisk.org
Fri Jul 8 12:50:56 CDT 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1314/
-----------------------------------------------------------
Review request for Asterisk Developers and jrose.
Summary
-------
MixMonitor has the ability to record in any file format Asterisk supports, but the quality of wideband audio is not preserved. This is because regardless of the sample rate the call is being recorded in, the audio is always downsampled to 8khz and then upsampled to whatever wideband format it is being written as. This patch resolves this by requesting the audio from the audiohook in the signed linear format closest to the sample rate of the format we are writing.
Diffs
-----
/trunk/apps/app_mixmonitor.c 327105
Diff: https://reviewboard.asterisk.org/r/1314/diff
Testing
-------
Made wideband calls, verified the recording's call quality sounds better than 8khz audio.
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20110708/80ada48b/attachment.htm>
More information about the asterisk-dev
mailing list