Exemple #1
0
func (m *Mixer) AttachSampleInstance(spl *SampleInstance) bool {
	return bool(C.al_attach_sample_instance_to_mixer((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(spl)), (*C.ALLEGRO_MIXER)(unsafe.Pointer(m))))
}
Exemple #2
0
// Attaches the sample instance to the given mixer.
func (stream *SampleInstance) Attach(mixer *Mixer) bool {
	return cb2b(C.al_attach_sample_instance_to_mixer(stream.handle, mixer.handle))
}