Package: android.hardware.audio.effect@2.0

IEnvironmentalReverbEffect

interface IEnvironmentalReverbEffect extends IEffect

Properties

ParamRange

enum ParamRange: int16_t
Details
Members
ROOM_LEVEL_MIN = -6000
ROOM_LEVEL_MAX = 0
ROOM_HF_LEVEL_MIN = -4000
ROOM_HF_LEVEL_MAX = 0
DECAY_TIME_MIN = 100
DECAY_TIME_MAX = 20000
DECAY_HF_RATIO_MIN = 100
DECAY_HF_RATIO_MAX = 1000
REFLECTIONS_LEVEL_MIN = -6000
REFLECTIONS_LEVEL_MAX = 0
REFLECTIONS_DELAY_MIN = 0
REFLECTIONS_DELAY_MAX = 65
REVERB_LEVEL_MIN = -6000
REVERB_LEVEL_MAX = 0
REVERB_DELAY_MIN = 0
REVERB_DELAY_MAX = 65
DIFFUSION_MIN = 0
DIFFUSION_MAX = 1000
DENSITY_MIN = 0
DENSITY_MAX = 1000

AllProperties

struct AllProperties {int16_t roomLevel; int16_t roomHfLevel; uint32_t decayTime; int16_t decayHfRatio; int16_t reflectionsLevel; uint32_t reflectionsDelay; int16_t reverbLevel; uint32_t reverbDelay; int16_t diffusion; int16_t density}
Details
Members
roomLevel
roomHfLevel
decayTime
decayHfRatio
reflectionsLevel
reflectionsDelay
reverbLevel
reverbDelay
diffusion
density

Methods

setBypass

setBypass (bool bypass)
generates (Result retval)

Sets whether the effect should be bypassed.

Details
Parameters
bypass
Generates
retval

getBypass

getBypass ()
generates (Result retval, bool bypass)

Gets whether the effect should be bypassed.

Details
Generates
retval
bypass

setRoomLevel

setRoomLevel (int16_t roomLevel)
generates (Result retval)

Sets the room level.

Details
Parameters
roomLevel
Generates
retval

getRoomLevel

getRoomLevel ()
generates (Result retval, int16_t roomLevel)

Gets the room level.

Details
Generates
retval
roomLevel

setRoomHfLevel

setRoomHfLevel (int16_t roomHfLevel)
generates (Result retval)

Sets the room high frequencies level.

Details
Parameters
roomHfLevel
Generates
retval

getRoomHfLevel

getRoomHfLevel ()
generates (Result retval, int16_t roomHfLevel)

Gets the room high frequencies level.

Details
Generates
retval
roomHfLevel

setDecayTime

setDecayTime (uint32_t decayTime)
generates (Result retval)

Sets the room decay time.

Details
Parameters
decayTime
Generates
retval

getDecayTime

getDecayTime ()
generates (Result retval, uint32_t decayTime)

Gets the room decay time.

Details
Generates
retval
decayTime

setDecayHfRatio

setDecayHfRatio (int16_t decayHfRatio)
generates (Result retval)

Sets the ratio of high frequencies decay.

Details
Parameters
decayHfRatio
Generates
retval

getDecayHfRatio

getDecayHfRatio ()
generates (Result retval, int16_t decayHfRatio)

Gets the ratio of high frequencies decay.

Details
Generates
retval
decayHfRatio

setReflectionsLevel

setReflectionsLevel (int16_t reflectionsLevel)
generates (Result retval)

Sets the level of reflections in the room.

Details
Parameters
reflectionsLevel
Generates
retval

getReflectionsLevel

getReflectionsLevel ()
generates (Result retval, int16_t reflectionsLevel)

Gets the level of reflections in the room.

Details
Generates
retval
reflectionsLevel

setReflectionsDelay

setReflectionsDelay (uint32_t reflectionsDelay)
generates (Result retval)

Sets the reflections delay in the room.

Details
Parameters
reflectionsDelay
Generates
retval

getReflectionsDelay

getReflectionsDelay ()
generates (Result retval, uint32_t reflectionsDelay)

Gets the reflections delay in the room.

Details
Generates
retval
reflectionsDelay

setReverbLevel

setReverbLevel (int16_t reverbLevel)
generates (Result retval)

Sets the reverb level of the room.

Details
Parameters
reverbLevel
Generates
retval

getReverbLevel

getReverbLevel ()
generates (Result retval, int16_t reverbLevel)

Gets the reverb level of the room.

Details
Generates
retval
reverbLevel

setReverbDelay

setReverbDelay (uint32_t reverDelay)
generates (Result retval)

Sets the reverb delay of the room.

Details
Parameters
reverDelay
Generates
retval

getReverbDelay

getReverbDelay ()
generates (Result retval, uint32_t reverbDelay)

Gets the reverb delay of the room.

Details
Generates
retval
reverbDelay

setDiffusion

setDiffusion (int16_t diffusion)
generates (Result retval)

Sets room diffusion.

Details
Parameters
diffusion
Generates
retval

getDiffusion

getDiffusion ()
generates (Result retval, int16_t diffusion)

Gets room diffusion.

Details
Generates
retval
diffusion

setDensity

setDensity (int16_t density)
generates (Result retval)

Sets room wall density.

Details
Parameters
density
Generates
retval

getDensity

getDensity ()
generates (Result retval, int16_t density)

Gets room wall density.

Details
Generates
retval
density

setAllProperties

setAllProperties (AllProperties properties)
generates (Result retval)

Sets all properties at once.

Details
Parameters
properties
Generates
retval

getAllProperties

getAllProperties ()
generates (Result retval, AllProperties properties)

Gets all properties at once.

Details
Generates
retval
properties