Interface AudioPreMixerSettings.Builder

  • Method Details

    • audioNormalizationSettings

      AudioPreMixerSettings.Builder audioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings)
      Audio normalization settings for loudness control. When specified, audio loudness will be normalized according to the chosen algorithm.
      Parameters:
      audioNormalizationSettings - Audio normalization settings for loudness control. When specified, audio loudness will be normalized according to the chosen algorithm.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • audioNormalizationSettings

      default AudioPreMixerSettings.Builder audioNormalizationSettings(Consumer<AudioNormalizationSettings.Builder> audioNormalizationSettings)
      Audio normalization settings for loudness control. When specified, audio loudness will be normalized according to the chosen algorithm. This is a convenience method that creates an instance of the AudioNormalizationSettings.Builder avoiding the need to create one manually via AudioNormalizationSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to audioNormalizationSettings(AudioNormalizationSettings).

      Parameters:
      audioNormalizationSettings - a consumer that will call methods on AudioNormalizationSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • channels

      Number of audio channels. If specified, the audio will be remixed to match this channel count. Ignored if remixSettings is specified.
      Parameters:
      channels - Number of audio channels. If specified, the audio will be remixed to match this channel count. Ignored if remixSettings is specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gainDb

      Gain adjustment in dB to apply. Range: -60 to +60 dB
      Parameters:
      gainDb - Gain adjustment in dB to apply. Range: -60 to +60 dB
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remixSettings

      AudioPreMixerSettings.Builder remixSettings(RemixSettings remixSettings)
      Settings that control how input audio channels are remixed. When specified, allows fine-grained control over channel mapping and gain levels. Takes precedence over the 'channels' setting.
      Parameters:
      remixSettings - Settings that control how input audio channels are remixed. When specified, allows fine-grained control over channel mapping and gain levels. Takes precedence over the 'channels' setting.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • remixSettings

      default AudioPreMixerSettings.Builder remixSettings(Consumer<RemixSettings.Builder> remixSettings)
      Settings that control how input audio channels are remixed. When specified, allows fine-grained control over channel mapping and gain levels. Takes precedence over the 'channels' setting. This is a convenience method that creates an instance of the RemixSettings.Builder avoiding the need to create one manually via RemixSettings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to remixSettings(RemixSettings).

      Parameters:
      remixSettings - a consumer that will call methods on RemixSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: