Beispiel #1
0
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
	}
}
Beispiel #2
0
func (self *Source) Stop() {
	C.alSourceStop(self.handle)
}
Beispiel #3
0
// Renamed, was SourceStop.
func (self Source) Stop() {
	C.alSourceStop(C.ALuint(self))
}
Beispiel #4
0
func (source Source) Stop() {
	C.alSourceStop(C.ALuint(source))
}
Beispiel #5
0
func (source Source) Stop() error {
	C.alSourceStop(source.source)
	return GetError()
}