- 29 Jan, 2011 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2010 1 commit
-
-
Tim Phipps authored
-
- 21 Mar, 2010 1 commit
-
-
Tim Phipps authored
Adds mixrampdb and mixrampdelay commands. Reads MIXRAP_START and MIXRAMP_END tags from FLAC files and overlaps instead of crossfading.
-
- 17 Feb, 2010 1 commit
-
-
Max Kellermann authored
Don't allocate each replay_gain_info object on the heap. Those objects who held a pointer now store a full replay_gain_info object. This reduces the number of allocations and heap fragmentation.
-
- 06 Jan, 2010 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
Easier to reuse the function.
-
Max Kellermann authored
Invoke decoder_initialized() in the libFLAC metadata callback. This merges code from the FLAC and the OggFLAC decoder plugin into the common library.
-
Max Kellermann authored
-
Max Kellermann authored
This feature has been moved to the "flac" playlist plugin.
-
- 04 Jan, 2010 1 commit
-
-
Max Kellermann authored
This function replaces the replay_gain_info parameter for decoder_data(). This allows the decoder to announce replay gain changes, instead of having to pass the same object over and over.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 26 Dec, 2009 1 commit
-
-
Max Kellermann authored
Remove the data_time parameter from decoder_data(). This patch eliminates the timestamp counting in most decoder plugins, because the MPD core will do it automatically by default.
-
- 02 Dec, 2009 1 commit
-
-
Max Kellermann authored
This patch prepares support for floating point samples (and probably other formats). It changes the meaning of the "bits" attribute from a bit count to a symbolic value.
-
- 19 Nov, 2009 1 commit
-
-
Max Kellermann authored
Removed the "vtrack" local variable (which triggered a gcc warning because it was after the newly introduced NULL check), and run strtol() on the original parameter.
-
- 18 Nov, 2009 1 commit
-
-
Max Kellermann authored
The function flac_vtrack_tnum() was missing a strrchr()==NULL check.
-
- 13 Nov, 2009 1 commit
-
-
Max Kellermann authored
Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins.
-
- 12 Nov, 2009 1 commit
-
-
Max Kellermann authored
After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
-
- 11 Nov, 2009 9 commits
-
-
Max Kellermann authored
Remove the audio_format attribute, add "frame_size" instead. The audio_format initialization and check is moved both to flac_data_get_audio_format().
-
Max Kellermann authored
When calculating the properties of the frame, use sample_rate and other information from the frame header instead of the stored audio_format object.
-
Max Kellermann authored
Don't update a float timestamp, this will make imprecisions add up after a while. We already have the number of the current frame, let's just calculate the float timestamp from that for every decoder_data() command. For this, we need to add the attribute "first_frame", for CUE sheet songs.
-
Max Kellermann authored
Removed the "bit_rate" attribute from the flac_data struct. Pass the number of bytes since the last call to flac_common_write(), and let it calculate the bit rate.
-
Max Kellermann authored
We don't want to work with floating point values if possible. Get the integer number of frames from the FLAC__StreamMetadata_StreamInfo object, and convert it into a float duration on demand. This patch adds a check if the STREAMINFO packet has been received yet.
-
Max Kellermann authored
We need this for more exact end-of-subsong detection for CUE files.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Make the function more generic by not passing "struct flac_data" to it.
-
- 10 Nov, 2009 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This is a great simplification for flac_common_write(), because we can convert and submit all of the buffer in one turn. No more partial buffers with complicated formulas.
-
Max Kellermann authored
Clean up tag and replay_gain_info there.
-
Max Kellermann authored
That function diverts into various bit formats; it doesn't need a typed pointer.
-
Max Kellermann authored
Don't use audio_format_sample_size() for identifying the sample format.
-
- 13 Oct, 2009 1 commit
-
-
Max Kellermann authored
-
- 14 Aug, 2009 1 commit
-
-
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.
-
- 22 Jul, 2009 4 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
The FLAC replaygain parser used the "||" operator. This made the code stop after the first value which was found.
-
Max Kellermann authored
When one metadata check fails, return quickly. This removes 2 levels of indent.
-
Max Kellermann authored
This belongs into "git annotate" or AUTHORS.
-
- 19 Jul, 2009 1 commit
-
-
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.
-
- 17 Mar, 2009 1 commit
-
-
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.
-