title: How to calculate number of samples in audio given some parameters?
body: <p>Given following parameters:</p>
  
  <pre><code>Sample size: 16
  Channel count: 2
  Codec: audio/pcm
  Byte order: little endian
  Sample rate: 11025
  Sample type: signed int
  </code></pre>
  
  <p>How can I determine number of samples for <code>N miliseconds</code> of recorded audio? I'm new in audio processing. The codec is PCM so I guess it's uncompressed audio.</p>
  
  <p>I'm using Qt 4.8 on Windows 7 Ultimate x64.</p>