Class PcmFormat


  • public class PcmFormat
    extends java.lang.Object
    Describes the properties of PCM data.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int channelCount
      Number of channels.
      int sampleRate
      Sample rate (frequency).
    • Constructor Summary

      Constructors 
      Constructor Description
      PcmFormat​(int channelCount, int sampleRate)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • channelCount

        public final int channelCount
        Number of channels.
      • sampleRate

        public final int sampleRate
        Sample rate (frequency).
    • Constructor Detail

      • PcmFormat

        public PcmFormat​(int channelCount,
                         int sampleRate)
        Parameters:
        channelCount - See channelCount.
        sampleRate - See sampleRate.