summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/effect/2.0/IDownmixEffect.hal6
-rw-r--r--audio/effect/2.0/IEnvironmentalReverbEffect.hal8
-rw-r--r--audio/effect/2.0/IPresetReverbEffect.hal6
-rw-r--r--audio/effect/2.0/IVisualizerEffect.hal2
4 files changed, 17 insertions, 5 deletions
diff --git a/audio/effect/2.0/IDownmixEffect.hal b/audio/effect/2.0/IDownmixEffect.hal
index 06409a3093..1232095636 100644
--- a/audio/effect/2.0/IDownmixEffect.hal
+++ b/audio/effect/2.0/IDownmixEffect.hal
@@ -25,7 +25,13 @@ interface IDownmixEffect extends IEffect {
FOLD // mix the extra channels with FL/FR
};
+ /**
+ * Sets the current downmix preset.
+ */
setType(Type preset) generates (Result retval);
+ /**
+ * Gets the current downmix preset.
+ */
getType() generates (Result retval, Type preset);
};
diff --git a/audio/effect/2.0/IEnvironmentalReverbEffect.hal b/audio/effect/2.0/IEnvironmentalReverbEffect.hal
index dca89f91bc..58d6d97f9f 100644
--- a/audio/effect/2.0/IEnvironmentalReverbEffect.hal
+++ b/audio/effect/2.0/IEnvironmentalReverbEffect.hal
@@ -64,12 +64,12 @@ interface IEnvironmentalReverbEffect extends IEffect {
getRoomLevel() generates (Result retval, int16_t roomLevel);
/**
- * Sets the room high frequences level.
+ * Sets the room high frequencies level.
*/
setRoomHfLevel(int16_t roomHfLevel) generates (Result retval);
/**
- * Gets the room high frequences level.
+ * Gets the room high frequencies level.
*/
getRoomHfLevel() generates (Result retval, int16_t roomHfLevel);
@@ -84,12 +84,12 @@ interface IEnvironmentalReverbEffect extends IEffect {
getDecayTime() generates (Result retval, uint32_t decayTime);
/**
- * Sets the ratio of high frequences decay.
+ * Sets the ratio of high frequencies decay.
*/
setDecayHfRatio(int16_t decayHfRatio) generates (Result retval);
/**
- * Gets the ratio of high frequences decay.
+ * Gets the ratio of high frequencies decay.
*/
getDecayHfRatio() generates (Result retval, int16_t decayHfRatio);
diff --git a/audio/effect/2.0/IPresetReverbEffect.hal b/audio/effect/2.0/IPresetReverbEffect.hal
index 2237bc482a..f37e56ab28 100644
--- a/audio/effect/2.0/IPresetReverbEffect.hal
+++ b/audio/effect/2.0/IPresetReverbEffect.hal
@@ -31,7 +31,13 @@ interface IPresetReverbEffect extends IEffect {
LAST = PLATE
};
+ /**
+ * Sets the current preset.
+ */
setPreset(Preset preset) generates (Result retval);
+ /**
+ * Gets the current preset.
+ */
getPreset() generates (Result retval, Preset preset);
};
diff --git a/audio/effect/2.0/IVisualizerEffect.hal b/audio/effect/2.0/IVisualizerEffect.hal
index fd3edbdcb9..fffc70b0da 100644
--- a/audio/effect/2.0/IVisualizerEffect.hal
+++ b/audio/effect/2.0/IVisualizerEffect.hal
@@ -100,7 +100,7 @@ interface IVisualizerEffect extends IEffect {
} value;
};
/**
- * Retrieves the lastest measurements. The measurements to be made
+ * Retrieves the latest measurements. The measurements to be made
* are specified by 'setMeasurementMode' parameter.
*
* @return retval operation completion status.