Skip to content

Commit

Permalink
ausine: add cast to fix warning on windows (#3292)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh authored Jan 22, 2025
1 parent 229ddc1 commit 66b7b0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/ausine/ausine.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,8 @@ static int play_thread(void *arg)
stereo_s16(sampv, (int16_t)(sample * SCALE),
st->ch, &inc);
else if (st->prm.fmt == AUFMT_FLOAT)
stereo_float(sampv, sample, st->ch, &inc);
stereo_float(sampv, (float)sample,
st->ch, &inc);
}

st->sec_offset = fmod(st->sec_offset + sec_per_frame * frames,
Expand Down

0 comments on commit 66b7b0c

Please sign in to comment.