]> 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:15 +0000 (17:21 +0000)
commit0d17ee69306aed4a31cbf214fb084e355550eb21
tree4c034536ae6629599aa51d68e4812bc24bf03e19
parent0f3f0f3529a78b488bf1ad3ef59a9222eda16527
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