Beispiel #1
0
func CreateMixer(freq, depth, chanConf uint32) *Mixer {
	return (*Mixer)(unsafe.Pointer(C.al_create_mixer(C.uint(freq), C.ALLEGRO_AUDIO_DEPTH(depth), C.ALLEGRO_CHANNEL_CONF(chanConf))))
}
Beispiel #2
0
func createMixer(freq uint, depth AudioDepth, chan_conf ChannelConf) *C.ALLEGRO_MIXER {
	return C.al_create_mixer(C.uint(freq), depth.toC(), chan_conf.toC())
}