From 66e8bcd86a8f60531ec813b8058c23248abef5ef Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Sat, 29 Jul 2023 21:48:28 -0400 Subject: [PATCH] Audio Mono Audio to Stereo Channel Tweaks; --- src/dsd_audio2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dsd_audio2.c b/src/dsd_audio2.c index 22eaa02..4a38d87 100644 --- a/src/dsd_audio2.c +++ b/src/dsd_audio2.c @@ -424,11 +424,11 @@ void playSynthesizedVoiceFS (dsd_opts * opts, dsd_state * state) for (i = 0; i < 160; i++) { if (!encL) - stereo_samp1[i*2+0] = state->f_l[i]; + stereo_samp1[i*2+0] = state->f_l[i] * 0.5f; //test loading right side with same if (!encL) - stereo_samp1[i*2+1] = state->f_l[i]; + stereo_samp1[i*2+1] = state->f_l[i] * 0.5f; } @@ -525,11 +525,11 @@ void playSynthesizedVoiceSS (dsd_opts * opts, dsd_state * state) for (i = 0; i < 160; i++) { if (!encL) - stereo_samp1[i*2+0] = state->s_l[i]; + stereo_samp1[i*2+0] = state->s_l[i] / 2; //testing double left and right channel if (!encL) - stereo_samp1[i*2+1] = state->s_l[i]; + stereo_samp1[i*2+1] = state->s_l[i] / 2; }