1. 11 Nov, 2009 1 commit
  2. 10 Nov, 2009 5 commits
  3. 16 Mar, 2009 1 commit
    • Mario Lenz's avatar
      flac: get CUE track titles from additional FLAC comments · 36dab871
      Mario Lenz authored
      The cue sheet embedded in a flac file doen't contain any information
      about track titles and similar.  There are three possibilities: Use an
      external cue sheet that includes these information, use a tag CUESHEET
      with a cue sheet including these information or use tags.  I think the
      latter is the best option and is already used by other projects.
      36dab871
  4. 13 Mar, 2009 1 commit
    • Avuton Olrich's avatar
      all: Update copyright header. · 0aee49bd
      Avuton Olrich authored
      This updates the copyright header to all be the same, which is
      pretty much an update of where to mail request for a copy of the GPL
      and the years of the MPD project. This also puts all committers under
      'The Music Player Project' umbrella. These entries should go
      individually in the AUTHORS file, for consistancy.
      0aee49bd
  5. 15 Jan, 2009 2 commits
  6. 02 Jan, 2009 1 commit
  7. 24 Nov, 2008 1 commit
  8. 21 Nov, 2008 2 commits
  9. 16 Nov, 2008 1 commit
  10. 11 Nov, 2008 3 commits
  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 2 commits
  13. 01 Nov, 2008 2 commits
  14. 31 Oct, 2008 2 commits
  15. 30 Oct, 2008 1 commit
  16. 26 Oct, 2008 3 commits
  17. 17 Oct, 2008 1 commit
  18. 10 Oct, 2008 1 commit
  19. 08 Oct, 2008 1 commit
  20. 29 Sep, 2008 1 commit
    • 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
  21. 23 Sep, 2008 2 commits
    • Max Kellermann's avatar
      flac: moved code from flacWrite() to _flac_common.c · 8bcbe90b
      Max Kellermann authored
      There is still a lot of duplicated code in flac_plugin.c and
      oggflac_plugin.c.  Move code from flac_plugin.c to _flac_common.c, and
      use the new function flac_common_write() also in oggflac_plugin.c,
      porting lots of optimizations over to it.
      8bcbe90b
    • Max Kellermann's avatar
      audio_format: added audio_format_sample_size() · 128d8c7c
      Max Kellermann authored
      The inline function audio_format_sample_size() calculates how many
      bytes each sample consumes.  This function already takes into account
      that 24 bit samples are 4 bytes long, not 3.
      128d8c7c
  22. 29 Aug, 2008 2 commits
    • Max Kellermann's avatar
      oggflac: fix GCC warnings · d8ad109e
      Max Kellermann authored
      Fix lots of "unused parameter" warnings in the OggFLAC decoder
      plugin.  Not sure if anybody uses it anymore, since newer libflac
      obsoletes it.
      d8ad109e
    • Max Kellermann's avatar
      tag: fix the shout and oggflac plugins · 01f9684f
      Max Kellermann authored
      During the tag library refactoring, the shout plugin was disabled, and
      I forgot about adapting it to the new API.  Apply the same fixes to
      the oggflac decoder plugin.
      01f9684f
  23. 26 Aug, 2008 3 commits
    • 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
    • Max Kellermann's avatar
      check decoder_command!=NONE instead of decoder_command==STOP · e530181e
      Max Kellermann authored
      The code said "decoder_command==STOP" because that was a conversion
      from the old "dc->stop" test.  As we can now check for all commands in
      one test, we can simply rewrite that to decoder_command!=NONE.
      e530181e
    • Max Kellermann's avatar
      added decoder_read() · 940ecf53
      Max Kellermann authored
      On our way to stabilize the decoder API, we will one day remove the
      input stream functions.  The most basic function, read() will be
      provided by decoder_api.h with this patch.  It already contains a loop
      (still with manual polling), error/eof handling and decoder command
      checks.  This kind of code used to be duplicated in all decoder
      plugins.
      940ecf53