fix static sound length issue

remotes/1734709060101541481/main
cosmonaut 2021-10-28 20:57:09 -07:00
parent 2dab5a8c4b
commit 250d54f2d9
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.pContext = NULL;
sound->buffer.PlayBegin = 0;
sound->buffer.PlayLength = 0;
sound->buffer.PlayLength = frameCount;
sound->loopStart = 0;
sound->loopLength = 0;