Enum Class StageAudioManager.Source

java.lang.Object
java.lang.Enum<StageAudioManager.Source>
com.amazonaws.ivs.broadcast.StageAudioManager.Source
All Implemented Interfaces:
Serializable, Comparable<StageAudioManager.Source>, Constable
Enclosing class:
StageAudioManager

public static enum StageAudioManager.Source extends Enum<StageAudioManager.Source>
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:
  • Enum Constant Details

  • Method Details

    • values

      public static StageAudioManager.Source[] 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

      public static StageAudioManager.Source valueOf(String name)
      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 name
      NullPointerException - if the argument is null