Package com.amazonaws.ivs.broadcast
Enum Class StageAudioManager.Source
- All Implemented Interfaces:
Serializable,Comparable<StageAudioManager.Source>,Constable
- Enclosing class:
StageAudioManager
Audio source types that control how the Android audio input pipeline processes audio.
The source attribute affects the audio preprocessing applied by the platform before the audio data reaches the application. Different sources enable different platform-level processing pipelines.
See MediaRecorder.AudioSource in the Android documentation for more details.
- GENERIC - Default audio source with no specific processing optimizations. See AudioSource.DEFAULT.
- VOICE_RECOGNITION - Optimized for voice recognition. Applies minimal processing to preserve speech characteristics. See AudioSource.VOICE_RECOGNITION.
- VOICE_COMMUNICATION - Optimized for real-time voice communication. Enables the platform's voice processing pipeline, which may include echo cancellation and noise suppression at the hardware/platform level. See AudioSource.VOICE_COMMUNICATION.
- VOICE_PERFORMANCE - Optimized for live audio performance with minimal latency and processing. See AudioSource.VOICE_PERFORMANCE.
- UNPROCESSED - Raw audio with no platform-level processing applied. See AudioSource.UNPROCESSED.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic StageAudioManager.SourceReturns the enum constant of this class with the specified name.static StageAudioManager.Source[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERIC
-
VOICE_RECOGNITION
-
VOICE_COMMUNICATION
-
VOICE_PERFORMANCE
-
UNPROCESSED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-