func (s *SampleInstance) SetPlaymode(val uint32) bool { return bool(C.al_set_sample_instance_playmode((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)), C.ALLEGRO_PLAYMODE(val))) }
// Sets the play mode of the sample instance. func (self *SampleInstance) SetPlaymode(val PlayMode) bool { return cb2b(C.al_set_sample_instance_playmode(self.handle, val.toC())) }