Merge pull request #188 from axpe95/audio_out_fix

Fix output to stdout
This commit is contained in:
lwvmobile
2024-02-09 08:56:47 -05:00
committed by GitHub

View File

@@ -575,7 +575,7 @@ playSynthesizedVoice (dsd_opts * opts, dsd_state * state)
if (state->audio_out_idx > opts->delay)
{
if (opts->audio_out_type == 5) //OSS
if (opts->audio_out_type == 5 || opts->audio_out_type == 1) //OSS
{
//OSS 48k/1
result = write (opts->audio_out_fd, (state->audio_out_buf_p - state->audio_out_idx), (state->audio_out_idx * 2));