func (v *Voice) AttachSampleInstance(spl *SampleInstance) bool { return bool(C.al_attach_sample_instance_to_voice((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(spl)), (*C.ALLEGRO_VOICE)(unsafe.Pointer(v)))) }
// Attaches the sample instance to the given voice. func (stream *SampleInstance) AttachToVoice(voice *Voice) bool { return cb2b(C.al_attach_sample_instance_to_voice(stream.handle, voice.handle)) }