fix static sound length issue

mastering_effects
cosmonaut 2021-10-28 20:57:09 -07:00
parent 0ce8fda107
commit 33b795e252
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ double FAudioGMS_StaticSound_LoadWAV(char *filePath)
sound->buffer.pAudioData = (uint8_t*) pSampleData; sound->buffer.pAudioData = (uint8_t*) pSampleData;
sound->buffer.pContext = NULL; sound->buffer.pContext = NULL;
sound->buffer.PlayBegin = 0; sound->buffer.PlayBegin = 0;
sound->buffer.PlayLength = 0; sound->buffer.PlayLength = frameCount;
sound->loopStart = 0; sound->loopStart = 0;
sound->loopLength = 0; sound->loopLength = 0;