1. 28 Aug, 2006 1 commit
  2. 26 Aug, 2006 4 commits
  3. 25 Aug, 2006 1 commit
  4. 24 Aug, 2006 3 commits
    • Eric Wong's avatar
      audiofile_plugin: use afSetVirtualSampleFormat, too · 64a4c635
      Eric Wong authored
      This finally fixes a bug from over two years ago playing a wave file
      (oprah.wav) with the following characteristics (from sfinfo):
      
      File Format    Microsoft RIFF WAVE Format (wave)
      Data Format    8-bit integer (unsigned, little endian)
      Audio Data     986827 bytes begins at offset 58 (3a hex)
      1 channel, 986827 frames
      Sampling Rate  22050.00 Hz
      Duration       44.754 seconds
      
      Of course, this has been regression tested with all the files
      that the previous commit got working.  Thanks to Michael Pruett
      (audiofile author) for the hint and shame on me for forgetting
      about it for over two years :x
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4682 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      64a4c635
    • Eric Wong's avatar
      audiofile_plugin: fix for playing mono .au files with 8000Hz sample rate · b8fe818a
      Eric Wong authored
      Use the 'Virtual' variants of afGetSampleFormat, afGetChannels,
      afGetVirtualFrameSize in the audiofile library, since it already does
      the necessary abstraction for us.
      
      Of course, I've regression tested these changes against my
      standard 44100Hz/2ch/16bit wave files and they continue to play
      fine.
      
      Files tested:
      english.au (Linus Torvalds pronouncing 'Linux' in English)
      B01.Red_Bright_Heart.au (Chinese opera, sounds correct to me even though
      I don't actually understand the words)
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      b8fe818a
    • J. Alexander Treuman's avatar
      Bumping version to rc3 · c81f4e2c
      J. Alexander Treuman authored
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4675 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      c81f4e2c
  5. 23 Aug, 2006 4 commits
  6. 22 Aug, 2006 2 commits
  7. 20 Aug, 2006 6 commits
  8. 18 Aug, 2006 4 commits
  9. 15 Aug, 2006 2 commits
  10. 14 Aug, 2006 2 commits
    • Eric Wong's avatar
      Several bugfixes during exit found by valgrind · e5df85db
      Eric Wong authored
      First, make sure we call finishPlaylist() before
      closeMp3Directory() since the latter will free non-SONG_TYPE_URL
      songs in playlist, which causes an invalid read when we try to
      look for SONG_TYPE_URL songs to free in finishPlaylist.
      
      Secondly, make sure our children have all exited before freeing
      the playerData.  If we do not, slowly-delivered signals can
      trigger a race condition in the signal handlers of the decode
      and player processes which rely on getPlayerData.  To avoid
      waitpid-ing too long (or at all), move the freePlayerData() call
      farther down in main() (this won't affect anything else)
      to give the OS a better chance to deliver signals and finish running
      sig handlers for terminated children.
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4640 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      e5df85db
    • Eric Wong's avatar
      Revert leaks from r4311, and also the leak fixes as a result of that · 6459b3ee
      Eric Wong authored
      utf8ToFsCharset() and fsCharsetToUtf8() got very broken in r4311, and
      resulted in several commits to fix those leaks.  Unfortunately, not all
      of those newly introduced leaks were fixed, nor was the result pretty.
      
      Also, fixed a double-free in lsPlaylists().  This is very hard
      to trigger (and therefore exploit) at the moment because we
      check printDirectoryInfo() beforehand.
      
      Intended behavior for utf8ToFsCharset() and fsCharsetToUtf8() as
      God^H^H^Hshank originally intended is now documented in path.h
      to prevent future errors like this.
      
      mpd could still use some good valgrind testing before the 0.12.0
      release.
      
      <plug>In addition to reducing heap fragmentation, malloc
      reductions from mpd-ke greatly reduces the chance of leaks from
      happening due to programming errors.</plug>
      
      git-svn-id: https://svn.musicpd.org/mpd/trunk@4639 09075e82-0dd4-0310-85a5-a0d7c8717e4f
      6459b3ee
  11. 13 Aug, 2006 2 commits
  12. 12 Aug, 2006 2 commits
  13. 11 Aug, 2006 1 commit
  14. 10 Aug, 2006 4 commits
  15. 09 Aug, 2006 2 commits