Beispiel #1
0
func (v *Voice) AttachMixer(mixer *Mixer) bool {
	return bool(C.al_attach_mixer_to_voice((*C.ALLEGRO_MIXER)(unsafe.Pointer(mixer)), (*C.ALLEGRO_VOICE)(unsafe.Pointer(v))))
}
Beispiel #2
0
// Attaches the given voice to the mixer.
func (voice *Voice) AttachMixer(mixer *Mixer) bool {
	return cb2b(C.al_attach_mixer_to_voice(mixer.handle, voice.handle))
}