Пример #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)))
}
Пример #2
0
// 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)))
}