]> git.ipfire.org Git - thirdparty/asterisk.git/commit
app_chanspy: Add 'D' option for dual-channel audio
authorMike Bradeen <mbradeen@sangoma.com>
Wed, 31 Jan 2024 15:55:04 +0000 (08:55 -0700)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 7 Mar 2024 14:18:40 +0000 (14:18 +0000)
commitb510d681a1672ee6e72577501cab1fd5619d2155
tree06a723a4691a779fa9dd88c453fd72d61ef323e4
parent5c12fda94e364a10ad5fd96030468d0679dfd465
app_chanspy: Add 'D' option for dual-channel audio

Adds the 'D' option to app chanspy that causes the input and output
frames of the spied channel to be interleaved in the spy output frame.
This allows the input and output of the spied channel to be decoded
separately by the receiver.

If the 'o' option is also set, the 'D' option is ignored as the
audio being spied is inherently one direction.

Fixes: #569
UserNote: The ChanSpy application now accepts the 'D' option which
will interleave the spied audio within the outgoing frames. The
purpose of this is to allow the audio to be read as a Dual channel
stream with separate incoming and outgoing audio. Setting both the
'o' option and the 'D' option and results in the 'D' option being
ignored.

(cherry picked from commit 69fe81481369ba4db6919e77656f287d0011640c)
apps/app_chanspy.c