func (playback *PlayInstance) StopPlayback() { if playback.src != nil && playback.id == playback.src.requestId && playback.src.isPlaying { C.alSourceStop(playback.src.id) playback.src.occupied = false playback.src.isPlaying = false } }
func (self *Source) Stop() { C.alSourceStop(self.handle) }
// Renamed, was SourceStop. func (self Source) Stop() { C.alSourceStop(C.ALuint(self)) }
func (source Source) Stop() { C.alSourceStop(C.ALuint(source)) }
func (source Source) Stop() error { C.alSourceStop(source.source) return GetError() }