Example #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))))
}
Example #2
0
File: audio.go Project: beoran/algo
// 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))
}