]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_mixmonitor: Fix duplex recording for non 8K codecs master
authorMike Bradeen <mbradeen@sangoma.com>
Wed, 10 Jun 2026 17:00:17 +0000 (11:00 -0600)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Tue, 16 Jun 2026 14:19:11 +0000 (14:19 +0000)
commit6144b6bcb73d8651566973f3cf9e1b0bbba84403
tree995a76fa28c4c164556da29586a0f415958a3d11
parentf9a38e16080e3e4d175a955f315ea0287736a2b8
app_mixmonitor: Fix duplex recording for non 8K codecs

The native sampling of duplex recording is set to match the raw 8K
output format. If one or more of the streams being recorded is above
8K, the frame size coming into the mixmonitor is too large and needs
to be translated to 8K before being mixed into the stereo frame to
avoid garbled and mistimed audio

Fixes: #1779
apps/app_mixmonitor.c
include/asterisk/audiohook.h