]> 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:18 +0000 (17:21 +0000)
commitf31b981d92abc15629fa8953fd1064a5d0e5b676
treee344ce459dced2cb9e1090eeb27ffd2ab87dbf9c
parent305111e9541c649c9af2840b7a590bebec0f94ee
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