fix static sound length issue
parent
0ce8fda107
commit
33b795e252
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue