示例#1
0
func (m *Mixer) SetPlaying(val bool) bool {
	return bool(C.al_set_mixer_playing((*C.ALLEGRO_MIXER)(unsafe.Pointer(m)), C.bool(val)))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Sets the play status of the mixer.
func (self *Mixer) SetPlaying(val bool) bool {
	return cb2b(C.al_set_mixer_playing(self.handle, b2cb(val)))
}