Skip to content

Commit

Permalink
bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Seng-Jik committed Feb 17, 2022
1 parent 58b09fd commit 22bd3b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpymo/cpymo_audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ static void cpymo_audio_mix_samples(
len /= sizeof(TYPE); \
\
for (size_t i = 0; i < len; ++i) { \
float src_sample = (float)src[i] / (float)TYPE_MAX_VAL; \
float dst_sample = (float)dst[i] / (float)TYPE_MAX_VAL; \
double src_sample = (float)src[i] / (float)TYPE_MAX_VAL; \
double dst_sample = (float)dst[i] / (float)TYPE_MAX_VAL; \
src_sample *= volume * 1.0f; \
dst_sample += src_sample; \
\
Expand Down

0 comments on commit 22bd3b6

Please sign in to comment.