IsSoundReady has been renamed

This commit is contained in:
JupiterRider 2024-11-24 15:54:51 +01:00
parent f3553fea29
commit 3282ea28f2
2 changed files with 8 additions and 8 deletions

View file

@ -209,10 +209,10 @@ func LoadSoundAlias(source Sound) Sound {
return v
}
// IsSoundReady - Checks if a sound is ready
func IsSoundReady(sound Sound) bool {
// IsSoundValid - Checks if a sound is valid (data loaded and buffers initialized)
func IsSoundValid(sound Sound) bool {
csound := sound.cptr()
ret := C.IsSoundReady(*csound)
ret := C.IsSoundValid(*csound)
v := bool(ret)
return v
}