1. 08 Mar, 2009 1 commit
    • Max Kellermann's avatar
      music_chunk: added assertions on the audio format · 94d1a87d
      Max Kellermann authored
      In !NDEBUG, remember which audio_format is stored in every chunk and
      every pipe.  Check the audio_format of every new data block appended
      to the music_chunk, and the format of every new chunk appended to the
      music_pipe.
      94d1a87d
  2. 07 Mar, 2009 1 commit
  3. 05 Mar, 2009 2 commits
    • Max Kellermann's avatar
      pipe: added music_buffer, rewrite music_pipe · 01cf7fea
      Max Kellermann authored
      Turn the music_pipe into a simple music_chunk queue.  The music_chunk
      allocation code is moved to music_buffer, and is now managed with a
      linked list instead of a ring buffer.  Two separate music_pipe objects
      are used by the decoder for the "current" and the "next" song, which
      greatly simplifies the cross-fading code.
      01cf7fea
    • Max Kellermann's avatar
      music_chunk: added music_chunk_write(), music_chunk_expand() · 74a2813d
      Max Kellermann authored
      Moved some code from music_pipe_write() and music_pipe_expand().  Only
      music_chunk.c should access the music_chunk internals.
      74a2813d
  4. 03 Mar, 2009 1 commit