Example #1
0
func (a *Stream) SetPlaymode(val uint32) bool {
	return bool(C.al_set_audio_stream_playmode((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a)), C.ALLEGRO_PLAYMODE(val)))
}
Example #2
0
File: audio.go Project: beoran/algo
// Sets the play mode of the audio stream.
func (self *AudioStream) SetPlaymode(val PlayMode) bool {
	return cb2b(C.al_set_audio_stream_playmode(self.handle, val.toC()))
}