func alGetSourcef(s Source, k int) float32 { var v C.ALfloat C.alGetSourcef(C.ALuint(s), C.ALenum(k), &v) return float32(v) }
func getSourcef(s Source, param int) float32 { var v C.ALfloat C.alGetSourcef(C.ALuint(s), C.ALenum(param), &v) return float32(v) }
/* * Get Source parameters */ func (source Source) GetSourcef(param ALenum) (value float32) { C.alGetSourcef( C.ALuint(source), C.ALenum(param), (*C.ALfloat)(&value)) return }
func (source Source) GetConeInnerAngle() (float32, error) { var val float32 C.alGetSourcef(source.source, C.AL_CONE_INNER_ANGLE, (*C.ALfloat)((*C.float)(&val))) return val, GetError() }
func (source Source) GetReferenceDistance() (float32, error) { var val float32 C.alGetSourcef(source.source, C.AL_REFERENCE_DISTANCE, (*C.ALfloat)((*C.float)(&val))) return val, GetError() }
func (source Source) GetConeOuterGain() (float32, error) { var val float32 C.alGetSourcef(source.source, C.AL_CONE_OUTER_GAIN, (*C.ALfloat)((*C.float)(&val))) return val, GetError() }
func (source Source) GetRolloff() (float32, error) { var val float32 C.alGetSourcef(source.source, C.AL_ROLLOFF_FACTOR, (*C.ALfloat)((*C.float)(&val))) return val, GetError() }
func (source Source) GetMaxDistance() (float32, error) { var val float32 C.alGetSourcef(source.source, C.AL_MAX_DISTANCE, (*C.ALfloat)((*C.float)(&val))) return val, GetError() }
func (source Source) GetMaxGain() (float32, error) { var val float32 C.alGetSourcef(source.source, C.AL_MAX_GAIN, (*C.ALfloat)((*C.float)(&val))) return val, GetError() }
func (source Source) GetPitch() (float32, error) { var val float32 C.alGetSourcef(source.source, C.AL_PITCH, (*C.ALfloat)((*C.float)(&val))) return val, GetError() }