Interface FlacSettings.Builder

    • Method Detail

      • bitDepth

        FlacSettings.Builder bitDepth​(Integer bitDepth)
        Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.
        Parameters:
        bitDepth - Specify Bit depth (BitDepth), in bits per sample, to choose the encoding quality for this audio track.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • channels

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

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