Skip to content
  1. May 01, 2011
    • Dmitry Chestnykh's avatar
      audio: proper RIFF header generation. · 05ff9ea7
      Dmitry Chestnykh authored
      At last!
      
      [RIFF][following size][WAVE]fmt[...]...data[data size][padded data].
      
      Also, update example.wav.
      05ff9ea7
    • Dmitry Chestnykh's avatar
      e6fb7340
    • Dmitry Chestnykh's avatar
      audio: write pad byte when data length is odd. · ad3bc714
      Dmitry Chestnykh authored
      This is specified in RIFF format, but I forgot to implement.
      
           ckData  Binary data of fixed or variable size. The start of
      	     ckData is word-aligned with respect to the start of the
      	     RIFF file.  If the chunk size is an odd number of bytes, a
      	     pad byte with value zero is written after ckData.  Word
      	     aligning improves access speed (for chunks resident in
      	     memory) and maintains compatibility with EA IFF.  The
      	     ckSize value does not include the pad byte.
      
      (From http://www.kk.iij4u.or.jp/~kondo/wave/mpidata.txt)
      ad3bc714
  2. Apr 29, 2011
  3. Apr 28, 2011
  4. Apr 27, 2011
  5. Apr 26, 2011