commit 33e8ddf3b1df91d66664dcf0dc7011d089a74611 from: Omar Polo date: Sat Jul 09 10:02:40 2022 UTC opusfile and vorbisfile want a different type for the buffer no practical difference, just the compiler being annoying on linux commit - 6830f9cffdbcb7072d828548d2ed76496fc4e301 commit + 33e8ddf3b1df91d66664dcf0dc7011d089a74611 blob - e287375ce6df3b24e132769563a7bcabe2403f4e blob + 1dfcd33df7e7825abdeae89a9a4711ecde1fcbe3 --- player_oggvorbis.c +++ player_oggvorbis.c @@ -37,7 +37,7 @@ int play_oggvorbis(int fd, const char **errstr) { - static uint8_t pcmout[4096]; + static char pcmout[4096]; FILE *f; OggVorbis_File vf; vorbis_info *vi; blob - 7e291f0c988483c73189fce7d8bab69f7cd10fdf blob + 0bf3329cc72a047d61b5f62504afd5445d2b5b2d --- player_opus.c +++ player_opus.c @@ -36,7 +36,7 @@ int play_opus(int fd, const char **errstr) { - static uint16_t pcm[BUFSIZ]; + static int16_t pcm[BUFSIZ]; static uint8_t out[BUFSIZ * 2]; OggOpusFile *of; void *f;