Class SampleExtractor.SampleBytesExtractor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int bytesPerSample  
    • Constructor Summary

      Constructors 
      Constructor Description
      SampleBytesExtractor​(int bitsPerSample)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long extract​(byte[] samples, int position)  
      • Methods inherited from class java.lang.Object

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

      • bytesPerSample

        private final int bytesPerSample
    • Constructor Detail

      • SampleBytesExtractor

        public SampleBytesExtractor​(int bitsPerSample)
    • Method Detail

      • extract

        public long extract​(byte[] samples,
                            int position)
        Specified by:
        extract in class SampleExtractor