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
commit 5d5f224f66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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));