Package io.agora.rtc2
Class SpatialAudioParams
java.lang.Object
io.agora.rtc2.SpatialAudioParams
-
Field Summary
FieldsModifier and TypeFieldDescriptionEnable air absorb or not for the speaker.Enable blur or not for the speaker.Enable doppler factor.Speaker attenuation factor.Speaker azimuth in a spherical coordinate system centered on the listener.Distance between speaker and listener.Speaker elevation in a spherical coordinate system centered on the listener.Speaker orientation [0-180], 0 degree is the same with listener orientation. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget air absorb enabled flagget blur enabled flagget speaker attenuationget speaker azimuthget speaker distanceget speaker elevationget speaker orientation
-
Field Details
-
speaker_azimuth
Speaker azimuth in a spherical coordinate system centered on the listener. -
speaker_elevation
Speaker elevation in a spherical coordinate system centered on the listener. -
speaker_distance
Distance between speaker and listener. -
speaker_orientation
Speaker orientation [0-180], 0 degree is the same with listener orientation. -
enable_blur
Enable blur or not for the speaker. -
enable_air_absorb
Enable air absorb or not for the speaker. -
speaker_attenuation
Speaker attenuation factor. -
enable_doppler
Enable doppler factor.
-
-
Constructor Details
-
SpatialAudioParams
public SpatialAudioParams()
-
-
Method Details
-
getSpeakerAzimuth
get speaker azimuth -
getSpeakerElevation
get speaker elevation -
getSpeakerDistance
get speaker distance -
getSpeakerOrientation
get speaker orientation -
getBlurFlag
get blur enabled flag -
getAirAbsorbFlag
get air absorb enabled flag -
getSpeakerAttenuation
get speaker attenuation -
getDopplerFlag
-