示例#1
0
文件: al.go 项目: nzlov/goal
func GetFloat(param ALenum) float32 {
	return float32(C.alGetFloat(C.ALenum(param)))
}
示例#2
0
文件: al_pc.go 项目: tanema/amore
func alGetFloat(k int) float32 {
	return float32(C.alGetFloat(C.ALenum(k)))
}
示例#3
0
文件: al.go 项目: Jragonmiris/go-al
func GetDopplerVelocity() (float32, error) {
	val := C.alGetFloat(C.AL_DOPPLER_VELOCITY)
	return float32(C.float(val)), GetError()
}
示例#4
0
文件: core.go 项目: jaekwon/go-openal
func getFloat(param int32) float32 {
	return float32(C.alGetFloat(C.ALenum(param)))
}
示例#5
0
文件: al.go 项目: Jragonmiris/go-al
func GetDopplerFactor() (float32, error) {
	val := C.alGetFloat(C.AL_DOPPLER_FACTOR)
	return float32(C.float(val)), GetError()
}