This commit is contained in:
Georgi Gerganov
2022-05-28 19:41:56 +03:00
parent 6b7134d3e4
commit fcb3bec055
5 changed files with 18 additions and 14 deletions

View File

@@ -122,7 +122,7 @@ bool GGWave_init(
playbackSpec.freq = GGWave::kBaseSampleRate + sampleRateOffset;
playbackSpec.format = AUDIO_S16SYS;
playbackSpec.channels = 1;
playbackSpec.samples = 16*1024;
playbackSpec.samples = (16*1024*GGWave::kBaseSampleRate)/48000;
playbackSpec.callback = NULL;
SDL_zero(g_obtainedSpecOut);