IsAudioStreamReady has been renamed

This commit is contained in:
JupiterRider 2024-11-24 16:02:37 +01:00
parent 24323485a0
commit b922049f3b
2 changed files with 8 additions and 8 deletions

View file

@ -462,10 +462,10 @@ func LoadAudioStream(sampleRate uint32, sampleSize uint32, channels uint32) Audi
return v
}
// IsAudioStreamReady - Checks if an audio stream is ready
func IsAudioStreamReady(stream AudioStream) bool {
// IsAudioStreamValid - Checks if an audio stream is valid (buffers initialized)
func IsAudioStreamValid(stream AudioStream) bool {
cstream := stream.cptr()
ret := C.IsAudioStreamReady(*cstream)
ret := C.IsAudioStreamValid(*cstream)
v := bool(ret)
return v
}