Example #1
0
func (a *Stream) SetPlaying(val bool) bool {
	return bool(C.al_set_audio_stream_playing((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a)), C.bool(val)))
}
Example #2
0
File: audio.go Project: beoran/algo
// Sets the play status of the audio stream.
func (self *AudioStream) SetPlaying(val bool) bool {
	return cb2b(C.al_set_audio_stream_playing(self.handle, b2cb(val)))
}