Esempio n. 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
	}
}
Esempio n. 2
0
func (self *Source) Stop() {
	C.alSourceStop(self.handle)
}
Esempio n. 3
0
// Renamed, was SourceStop.
func (self Source) Stop() {
	C.alSourceStop(C.ALuint(self))
}
Esempio n. 4
0
File: source.go Progetto: nzlov/goal
func (source Source) Stop() {
	C.alSourceStop(C.ALuint(source))
}
Esempio n. 5
0
func (source Source) Stop() error {
	C.alSourceStop(source.source)
	return GetError()
}