From 33e95dfb8b3eb3deef979248b701caff6d07064b Mon Sep 17 00:00:00 2001 From: Mike Bradeen Date: Wed, 31 Jan 2024 08:55:04 -0700 Subject: [PATCH] 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 e0be8be3376802c9a790f9ad5d3da522edcd8a7b) --- apps/app_chanspy.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 2d720ee5f9..ed2212317c 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -245,6 +245,11 @@ +