예제 #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))))
}
예제 #2
0
파일: audio.go 프로젝트: beoran/algo
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())
}