forked from MoonsideGames/FAudioGMS
fix static sound length issue
parent
2dab5a8c4b
commit
250d54f2d9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue