1. 15 Feb, 2009 1 commit
  2. 17 Jan, 2009 1 commit
    • Max Kellermann's avatar
      moved fallback APE/ID3 tag loader to song.c · 5395f5f6
      Max Kellermann authored
      Some plugins used the APE or ID3 tag loader as a fallback when their
      own methods of loading tags did not work.  Move this code out of all
      decoder plugins, into song_file_update().
      5395f5f6
  3. 15 Jan, 2009 4 commits
  4. 01 Jan, 2009 1 commit
  5. 24 Nov, 2008 1 commit
  6. 21 Nov, 2008 2 commits
  7. 16 Nov, 2008 1 commit
  8. 11 Nov, 2008 2 commits
    • 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
    • Max Kellermann's avatar
      replay_gain: no CamelCase · 114b3c1e
      Max Kellermann authored
      Renamed functions and variables.
      114b3c1e
  9. 10 Nov, 2008 3 commits
    • Max Kellermann's avatar
      decoder: removed plugin method try_decode() · ff1acefb
      Max Kellermann authored
      Instead of having a seprate try_decode() method, let the
      stream_decode() and file_decode() methods decide whether they are able
      to decode the song.
      ff1acefb
    • Max Kellermann's avatar
      flac: call flac_process_metadata() for ogg files · 23a4ce44
      Max Kellermann authored
      The flac plugin wasn't initialized properly when an OGG file was being
      decoded.  For some reason, flac_process_metadata() was explicitly not
      called for OGG files.  Since that seems to fix the issue, make it
      always call flac_process_metadata().
      23a4ce44
    • Max Kellermann's avatar
      flac: enable the oggflac plugin with older libflac versions · 0e87f855
      Max Kellermann authored
      Since decoder_list.c does not include the libflac headers, it cannot
      know whether to add the oggflac plugin to the decoder list.  Solve
      this by always enabling the oggflac sub-plugin, even with older
      libflac versions.  When the libflac API cannot support oggflac,
      disable the plugin at runtime by returning "false" from its init()
      method.
      0e87f855
  10. 09 Nov, 2008 1 commit
  11. 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
  12. 02 Nov, 2008 1 commit
  13. 01 Nov, 2008 2 commits
  14. 31 Oct, 2008 1 commit
  15. 30 Oct, 2008 1 commit
  16. 29 Oct, 2008 1 commit
  17. 26 Oct, 2008 4 commits
  18. 17 Oct, 2008 1 commit
  19. 10 Oct, 2008 1 commit
  20. 08 Oct, 2008 2 commits
  21. 29 Sep, 2008 2 commits
    • Max Kellermann's avatar
      use C99 struct initializers · de7cda1d
      Max Kellermann authored
      The old struct initializers are error prone and don't allow moving
      elements around.  Since we are going to overhaul some of the APIs
      soon, it's easier to have all implementations use C99 initializers.
      de7cda1d
    • Max Kellermann's avatar
      decoder: renamed plugin methods · 21d3d300
      Max Kellermann authored
      Why have a "_func" prefix on all method names?  Also don't typedef the
      methods, there is no advantage in that.
      21d3d300
  22. 23 Sep, 2008 3 commits
  23. 29 Aug, 2008 2 commits
  24. 26 Aug, 2008 1 commit
    • Max Kellermann's avatar
      flac: decoder command means EOF · 6df980a9
      Max Kellermann authored
      It was possible for the decoder thread to go into an endless loop
      (flac and oggflac decoders): when a "STOP" command arrived, the Read()
      callback would return 0, but the EOF() callback returned false.  Fix:
      when decoder_get_command()!=NONE, return EOF==true.
      6df980a9