Exemplo n.º 1
0
func (v *Voice) SetPlaying(val bool) bool {
	return bool(C.al_set_voice_playing((*C.ALLEGRO_VOICE)(unsafe.Pointer(v)), C.bool(val)))
}
Exemplo n.º 2
0
Arquivo: audio.go Projeto: beoran/algo
// Sets the play status of the voice.
func (self *Voice) SetPlaying(val bool) bool {
	return cb2b(C.al_set_voice_playing(self.handle, b2cb(val)))
}