IsAudioStreamReady has been renamed
This commit is contained in:
parent
24323485a0
commit
b922049f3b
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue