Skip to content

Commit 764126f

Browse files
authored
Merge pull request #846 from amiaopensource/audio-monitoring-tweaks
mapping for mono playback
2 parents 821a228 + aae2976 commit 764126f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vrecord

+4
Original file line numberDiff line numberDiff line change
@@ -1825,17 +1825,21 @@ _lookup_choice(){
18251825
AUDIO_CHANNEL_MAP+=(-map "[stereo1]") ;;
18261826
"Channel 1 -> 1st Track Mono, Channel 2 -> 2nd Track Mono")
18271827
AUDIOMAP="[0:a:0]pan=mono| c0=c0[mono1];[0:a:0]pan=mono| c0=${PHASE_VALUE_2}c1[mono2]"
1828+
AUDIO_PLAY_MAP="pan=stereo|c0=c0|c1=${PHASE_VALUE_2}c1"
18281829
AUDIO_CHANNEL_MAP+=(-map "[mono1]")
18291830
AUDIO_CHANNEL_MAP+=(-map "[mono2]") ;;
18301831
"Channel 2 -> 1st Track Mono, Channel 1 -> 2nd Track Mono")
18311832
AUDIOMAP="[0:a:0]pan=mono| c0=${PHASE_VALUE_2}c1[mono1];[0:a:0]pan=mono| c0=c0[mono2]"
1833+
AUDIO_PLAY_MAP="pan=stereo|c0=${PHASE_VALUE_2}c1|c1=c0"
18321834
AUDIO_CHANNEL_MAP+=(-map "[mono1]")
18331835
AUDIO_CHANNEL_MAP+=(-map "[mono2]") ;;
18341836
"Channel 1 -> Single Track Mono")
18351837
AUDIOMAP="[0:a:0]pan=mono| c0=c0[mono1]"
1838+
AUDIO_PLAY_MAP="pan=mono| c0=c0"
18361839
AUDIO_CHANNEL_MAP+=(-map "[mono1]") ;;
18371840
"Channel 2 -> Single Track Mono")
18381841
AUDIOMAP="[0:a:0]pan=mono| c0=c1[mono1]"
1842+
AUDIO_PLAY_MAP="pan=mono| c0=c1"
18391843
AUDIO_CHANNEL_MAP+=(-map "[mono1]") ;;
18401844
# Audio mode channel options
18411845
"Mono")

0 commit comments

Comments
 (0)