title: "Sample Frame" in Context of AudioInputStream
body: <p>I am currently in the process of having to implement a codec for the Java Sound SPI. I've reached a stage where I'm going to have to change some behaviors of the <a href="https://docs.oracle.com/javase/8/docs/api/javax/sound/sampled/AudioInputStream.html" rel="nofollow">AudioInputStream</a> (thus having to override it). However, the wording of "sample frames" doesn't make any sense to me. The amount of samples and the amount of frames in my codec are very different numbers and meanings. So in context of this class, what is its meaning?</p>
  
  <p>For example, frameLength is documented as "This stream's length, in sample frames." The stream's length is not equal to the amount of frames in the stream.</p>
  
  <p>framePos is documented as "The current position in this stream, in sample frames (zero-based)." Does that mean it holds which frame the stream is currently on or what sample the stream is on?</p>
  
  <p>Etc.</p>