Interface Mp2Settings.Builder

    • Method Detail

      • bitrate

        Mp2Settings.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

        Mp2Settings.Builder channels​(Integer channels)
        Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 1 and 2.
        Parameters:
        channels - Set Channels to specify the number of channels in this output audio track. Choosing Mono in will give you 1 output channel; choosing Stereo will give 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.
      • sampleRate

        Mp2Settings.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.