Merge pull request #260 from LiquidFenrir/patch-1

Make BUF_TO_READ larger to fix audio in some cases
This commit is contained in:
Dylan G
2022-02-26 15:47:30 +00:00
committed by GitHub

View File

@@ -34,7 +34,7 @@
#include <tremor/ivorbisfile.h> #include <tremor/ivorbisfile.h>
#include <tremor/ivorbiscodec.h> #include <tremor/ivorbiscodec.h>
#define BUF_TO_READ 40960 // How much data should be buffered at a time #define BUF_TO_READ 48000 // How much data should be buffered at a time
typedef struct { typedef struct {
OggVorbis_File vf; OggVorbis_File vf;
@@ -51,4 +51,4 @@ typedef struct {
void play_audio(audio_s *); void play_audio(audio_s *);
#endif #endif