]> 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)
committerMike Bradeen <mbradeen@sangoma.com>
Tue, 6 Feb 2024 17:21:11 +0000 (17:21 +0000)
commit69fe81481369ba4db6919e77656f287d0011640c
treeb51eaa6520db94033d93a41c5004314319726fb4
parent9baf49497e860b89dae6117c684bc8297072891c
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.
apps/app_chanspy.c