Exemplo n.º 1
0
func (v *Voice) AttachStream(stream *Stream) bool {
	return bool(C.al_attach_audio_stream_to_voice((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(stream)), (*C.ALLEGRO_VOICE)(unsafe.Pointer(v))))
}
Exemplo n.º 2
0
Arquivo: audio.go Projeto: beoran/algo
// Attaches the audio stream to the given voice.
func (stream *AudioStream) AttachToVoice(voice *Voice) bool {
	return cb2b(C.al_attach_audio_stream_to_voice(stream.handle, voice.handle))
}