1. 13 Oct, 2009 1 commit
  2. 14 Aug, 2009 1 commit
    • Max Kellermann's avatar
      decoder/flac: don't allocate cuesheet twice (memleak) · 1c4f407a
      Max Kellermann authored
      The function flac_cue_track() first calls FLAC__metadata_object_new(),
      then overwrites this pointer with FLAC__metadata_get_cuesheet().  This
      allocate two FLAC__StreamMetadata objects, but the first pointer is
      lost, and never freed.
      1c4f407a
  3. 22 Jul, 2009 4 commits
  4. 19 Jul, 2009 1 commit
    • David Woodhouse's avatar
      Add audio_format_init() function · 37754559
      David Woodhouse authored
      It makes no difference right now, but we're about to add an endianness
      flag and will want to make sure it's correctly initialised every time.
      37754559
  5. 17 Mar, 2009 1 commit
    • Mario Lenz's avatar
      flac/cue: added support for TITLE[n] comments · 7ba7e673
      Mario Lenz authored
      On 2009/03/17 Max Kellermann<max@duempel.org> wrote:
      
      > There doesn't seem to be an "official" standard.  I'd say: search for
      > TITLE[1] first (the most explicit form), then TITLE1, and finally fall
      > back to TITLE.  This makes sure MPD supports every possible standard,
      > without breaking.
      
      I've also added some additional checks to make sure entry is long
      enough.
      7ba7e673
  6. 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
  7. 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
  8. 09 Mar, 2009 1 commit
    • Jochen Keil's avatar
      Initial support for embedded cue sheets found in flac files · 706112bb
      Jochen Keil authored
      So far only seekpoints are supported, so no proper tagging yet
      except for track number and track length.
      Tagging should be done by parsing the cue sheet which
      is often embedded as vorbis comment in flac files.
      Furthermore the pathname should be configurable like "%A - %t - %T",
      where %A means Artist, %t track number and %T Title or so.
      706112bb
  9. 01 Mar, 2009 1 commit
    • Max Kellermann's avatar
      flac: parse stream tags · ba3a8474
      Max Kellermann authored
      Parse the vorbis comments in libflac's metadata_callback and pass them
      as tag struct to the decoder API.
      ba3a8474
  10. 27 Feb, 2009 1 commit
  11. 15 Jan, 2009 6 commits
  12. 01 Jan, 2009 1 commit
  13. 21 Nov, 2008 1 commit
  14. 11 Nov, 2008 2 commits
  15. 02 Nov, 2008 1 commit
  16. 26 Oct, 2008 2 commits
  17. 17 Oct, 2008 1 commit
  18. 10 Oct, 2008 1 commit
  19. 29 Sep, 2008 1 commit
  20. 23 Sep, 2008 7 commits
    • Max Kellermann's avatar
      flac: removed FlacData.chunk_length · d42959c5
      Max Kellermann authored
      chunk_length can be converted to a local variable, because it is
      always reset to 0 after it was used.
      d42959c5
    • Max Kellermann's avatar
      flac: merged flacSendChunk() into flac_common_write() · 0c934f9d
      Max Kellermann authored
      Since flacSendChunk() is a trivial function and is only used in one
      location, move the code there.  The advantage is that calling
      decoder_data() directly returns the decoder_command value, so we can
      eliminate one decoder_get_command() call.
      0c934f9d
    • Max Kellermann's avatar
      flac: removed generic sample size support · eeb30110
      Max Kellermann authored
      Support for bit rates except 16 bits (and 8 bits on little endian) has
      always been broken.  Since we added optimized functions for 8, 16,
      24/32 bits, we can remove the generic flac_convert() function.
      Instead of removing it, convert it to a wrapper function for
      flac_convert_*().
      eeb30110
    • Max Kellermann's avatar
      flac: added special functions for 8 and 32 bit · 19971be3
      Max Kellermann authored
      Same optimization for 8 and 32 bit files, like the previous patch for
      16 bit.  Along the way, this patch adds 24 bit FLAC support!
      19971be3
    • Max Kellermann's avatar
      flac: added optimized converter for 16 bit · 8c2bde70
      Max Kellermann authored
      flac_convert_16() runs a lot faster than the generic (and quite buggy)
      function flac_convert().  flac_convert_16() is only used for
      non-stereo files, since there is already flac_convert_stereo16().
      8c2bde70
    • Max Kellermann's avatar
      flac: use signed integers in flac_convert_stereo16() · 7486c150
      Max Kellermann authored
      By mistake, I casted the sample value to uint16_t, which is wrong.
      This patch simplifies the code by using a int16_t pointer instead of
      casting to int16_t* every time.
      7486c150
    • 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
  21. 29 Aug, 2008 2 commits
  22. 26 Aug, 2008 2 commits
    • Max Kellermann's avatar
      added decoder_get_command() · 817a68b2
      Max Kellermann authored
      Another big patch which hides internal mpd APIs from decoder plugins:
      decoder plugins regularly poll dc->command; expose it with a
      decoder_api.h function.
      817a68b2
    • Max Kellermann's avatar
      moved InputPlugin to decoder_api.h · 08bdb43b
      Max Kellermann authored
      InputPlugin is the API which is implemented by a decoder plugin.  This
      belongs to the public API/ABI, so move it to decoder_api.h.  It will
      later be renamed to something like "decoder_plugin".
      08bdb43b