类 Audio

    • 构造器详细资料

      • Audio

        public Audio()
    • 方法详细资料

      • getBitRateInBps

        public Integer getBitRateInBps()
        Returns the audio bit rate
        返回:
        the audio bit rate
      • setBitRateInBps

        public void setBitRateInBps​(Integer bitRateInBps)
        Sets the audio bit rate.
        参数:
        bitRateInBps - the audio bit rate
      • withBitRateInBps

        public Audio withBitRateInBps​(Integer bitRateInBps)
        Sets the audio bit rate and returns this object.
        参数:
        bitRateInBps - the audio bit rate
        返回:
        this object
      • getSampleRateInHz

        public Integer getSampleRateInHz()
        Returns the audio sample rate.
        返回:
        the audio sample rate
      • setSampleRateInHz

        public void setSampleRateInHz​(Integer sampleRateInHz)
        Sets the audio sample rate
        参数:
        sampleRateInHz - the audio sample rate
      • withSampleRateInHz

        public Audio withSampleRateInHz​(Integer sampleRateInHz)
        Sets the audio sample rate and returns this object
        参数:
        sampleRateInHz - the audio sample rate
        返回:
        this object
      • getChannels

        public Integer getChannels()
        Returns the number of audio channels.
        返回:
        the number of audio channels
      • setChannels

        public void setChannels​(Integer channels)
        Sets the number of audio channels.
        参数:
        channels - the number of audio channels
      • withChannels

        public Audio withChannels​(Integer channels)
        Sets the number of audio channels and returns this object.
        参数:
        channels - the number of audio channels
        返回:
        this object