1. 20 Nov, 2008 1 commit
  2. 11 Nov, 2008 2 commits
    • Max Kellermann's avatar
      decoder: fixed typo in assertion · 401e77b2
      Max Kellermann authored
      decoder_file_decode() should check for plugin->file_decode, not
      plugin->stream_decode().
      401e77b2
    • Max Kellermann's avatar
      decoder: return void from decode() methods · 9eed4191
      Max Kellermann authored
      The stream_decode() and file_decode() methods returned a boolean,
      indicating whether they were able to decode the song.  This is
      redundant, since we already know that: if decoder_initialized() has
      been called (and dc.state==DECODE), the plugin succeeded.  Change both
      methods to return void.
      9eed4191
  3. 10 Nov, 2008 3 commits
  4. 08 Nov, 2008 2 commits
  5. 04 Nov, 2008 1 commit
    • Max Kellermann's avatar
      decoder: removed stream_types · 85a7d1a1
      Max Kellermann authored
      Instead of checking the stream_types bit set, we can simply check
      whether the methods stream_decode() and file_decode() are implemented.
      85a7d1a1
  6. 03 Nov, 2008 3 commits
  7. 02 Nov, 2008 5 commits
  8. 01 Nov, 2008 1 commit
  9. 31 Oct, 2008 6 commits
  10. 30 Oct, 2008 1 commit
  11. 29 Oct, 2008 1 commit
  12. 26 Oct, 2008 2 commits
  13. 20 Oct, 2008 1 commit
  14. 17 Oct, 2008 2 commits
  15. 14 Oct, 2008 1 commit
    • Max Kellermann's avatar
      mapper: new song-to-filesystem mapper library · 5b71d5f6
      Max Kellermann authored
      The mapper library maps directory and song objects to file system
      paths.  With this central library, the code mixture in path.c should
      be cleaned up, and we will be able to add neat features like aliasing.
      5b71d5f6
  16. 08 Oct, 2008 4 commits
  17. 29 Sep, 2008 1 commit
  18. 26 Sep, 2008 1 commit
    • Max Kellermann's avatar
      notify: protect notify->pending with the mutex · 58554e14
      Max Kellermann authored
      There was a known deadlocking bug in the notify library: when the
      other thread set notify->pending after the according check in
      notify_wait(), the latter thread was deadlocked.  Resolve this by
      synchronizing all accesses to notify->pending with the notify object's
      mutex.  Since notify_signal_sync() was never used, we can remove it.
      As a consequence, we don't need notify_enter() and notify_leave()
      anymore; eliminate them, too.
      58554e14
  19. 26 Aug, 2008 2 commits