Interface Mp3Settings.Builder

    • Method Detail

      • bitrate

        Mp3Settings.Builder bitrate​(Integer bitrate)
        Specify the average bitrate in bits per second.
        Parameters:
        bitrate - Specify the average bitrate in bits per second.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channels

        Mp3Settings.Builder channels​(Integer channels)
        Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
        Parameters:
        channels - Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • rateControlMode

        Mp3Settings.Builder rateControlMode​(String rateControlMode)
        Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
        Parameters:
        rateControlMode - Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Mp3RateControlMode, Mp3RateControlMode
      • rateControlMode

        Mp3Settings.Builder rateControlMode​(Mp3RateControlMode rateControlMode)
        Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
        Parameters:
        rateControlMode - Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Mp3RateControlMode, Mp3RateControlMode
      • sampleRate

        Mp3Settings.Builder sampleRate​(Integer sampleRate)
        Sample rate in Hz.
        Parameters:
        sampleRate - Sample rate in Hz.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vbrQuality

        Mp3Settings.Builder vbrQuality​(Integer vbrQuality)
        Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).
        Parameters:
        vbrQuality - Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).
        Returns:
        Returns a reference to this object so that method calls can be chained together.