- 06 Jan, 2010 2 commits
-
-
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
-
- 04 Jan, 2010 1 commit
-
-
Max Kellermann authored
Make it X_decoder_plugin.c.
-
- 01 Jan, 2010 1 commit
-
-
Avuton Olrich authored
-
- 31 Dec, 2009 1 commit
-
-
Max Kellermann authored
This patch changes the following decoder plugins to implement stream_tag() instead of tag_dup(): faad, ffmpeg, mad, modplug, mp4ff, mpcdec, oggflac This simplifies their code, because they do not need to take care of opening/closing the stream.
-
- 29 Dec, 2009 1 commit
-
-
Max Kellermann authored
Support deprecated MIME types such as "audio/x-ogg". Support new types such as "audio/flac".
-
- 15 Dec, 2009 1 commit
-
-
Max Kellermann authored
-
- 11 Nov, 2009 10 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
Use the sample rate stored in the stream_info struct instead of the audio_format struct.
-
Max Kellermann authored
-
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
Allow those plugins to open large files on 32 bit platforms.
-
Max Kellermann authored
We need this for more exact end-of-subsong detection for CUE files.
-
Max Kellermann authored
The oggflac plugin has been completely broken for quite a while and nobody has noticed - maybe we should remove it?
-
Max Kellermann authored
-
- 10 Nov, 2009 5 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Simple (up-rounding) integer division is good enough. We're casting the result back to an integer anyway.
-
Max Kellermann authored
-
Max Kellermann authored
Clean up tag and replay_gain_info there.
-
- 16 Mar, 2009 1 commit
-
-
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.
-
- 13 Mar, 2009 1 commit
-
-
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.
-
- 15 Jan, 2009 2 commits
-
-
Max Kellermann authored
Free the tag object when it turns out to be empty. This simplifies several functions and APIs.
-
Max Kellermann authored
Renamed types, functions, variables.
-
- 02 Jan, 2009 1 commit
-
-
Max Kellermann authored
Use G_GNUC_UNUSED instead of mpd_unused (which has already been removed).
-
- 24 Nov, 2008 1 commit
-
-
Max Kellermann authored
SEEK_SET is defined by unistd.h. Explicitly include it.
-
- 21 Nov, 2008 2 commits
-
-
Max Kellermann authored
Refuse to play audio formats which are not supported by MPD.
-
Max Kellermann authored
-
- 16 Nov, 2008 1 commit
-
-
Max Kellermann authored
Define the special value "-1" as "unknown size". Previously, there was no indicator for streams with unknown size, which might confuse some decoders.
-
- 11 Nov, 2008 3 commits
-
-
Max Kellermann authored
-
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.
-
Max Kellermann authored
Renamed functions and variables.
-
- 04 Nov, 2008 1 commit
-
-
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.
-
- 02 Nov, 2008 2 commits
-
-
Max Kellermann authored
Ogg and ffmpeg detection was disabled when the stream was not seekable, because the detection was too expensive. Since the curl input stream can now rewind the stream cheaply, we can re-enable detection on streams.
-
Max Kellermann authored
Don't pass the "seekable" flag with every decoder_data() invocation. Since that flag won't change within the file, it is enough to pass it to decoder_initialized() once per file.
-
- 01 Nov, 2008 2 commits
-
-
Max Kellermann authored
The strings were constant, but the pointers weren't. C syntax is somewhat tricky..
-
Max Kellermann authored
All decoder_plugin structs are initialized at compile time, and must never change.
-
- 31 Oct, 2008 1 commit
-
-
Max Kellermann authored
-