mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 12:45:40 -05:00
Audio Mono Audio to Stereo Channel Tweaks;
This commit is contained in:
@@ -424,11 +424,11 @@ void playSynthesizedVoiceFS (dsd_opts * opts, dsd_state * state)
|
|||||||
for (i = 0; i < 160; i++)
|
for (i = 0; i < 160; i++)
|
||||||
{
|
{
|
||||||
if (!encL)
|
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
|
//test loading right side with same
|
||||||
if (!encL)
|
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++)
|
for (i = 0; i < 160; i++)
|
||||||
{
|
{
|
||||||
if (!encL)
|
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
|
//testing double left and right channel
|
||||||
if (!encL)
|
if (!encL)
|
||||||
stereo_samp1[i*2+1] = state->s_l[i];
|
stereo_samp1[i*2+1] = state->s_l[i] / 2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user