- 17 Feb, 2009 1 commit
-
-
Max Kellermann authored
Fixed the log domains of the renamed decoders. Added G_LOG_DOMAIN macros in decoders which don't have one already.
-
- 16 Feb, 2009 1 commit
-
-
Max Kellermann authored
This plugin uses libvorbis.
-
- 17 Jan, 2009 1 commit
-
-
Max Kellermann authored
When libvorbis knows that a song is seekable, it seeks around like crazy in the file before starting to decode it. This is very expensive on remote HTTP resources, and delays MPD for 10 or 20 seconds. This patch disables seeking on remote songs, because the advantages of quickly playing a song seem to weigh more than the theoretical ability of seeking for most MPD users. If users feel this feature is needed, we will make a configuration option for that.
-
- 15 Jan, 2009 1 commit
-
-
Rasmus Steinke authored
This patch allows mpd to recognise the albumartist tag in the way foobar2000 and others write it to files.
-
- 14 Jan, 2009 7 commits
-
-
Max Kellermann authored
Don't depend on the daemon's locale settings. Comment names are ASCII.
-
Max Kellermann authored
vorbis_parse_comment() should be a function which converts one comment to a tag item. It should do everything required to do the conversion, including looping over all possible tag types.
-
Max Kellermann authored
-
Max Kellermann authored
Eliminate some duplicate code.
-
Max Kellermann authored
Always allocate a new tag object before parsing the vorbis comments; free it when it turns out to be empty. This simplifies the code a bit.
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
Make ogg_parseCommentAddToTag() return bool instead of unsigned int.
-
- 08 Jan, 2009 1 commit
-
-
Max Kellermann authored
-
- 05 Jan, 2009 2 commits
-
-
Max Kellermann authored
"#ifdef G_BYTE_ORDER == G_BIG_ENDIAN" cannot work, of course.
-
Max Kellermann authored
-
- 01 Jan, 2009 1 commit
-
-
Max Kellermann authored
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
-
- 24 Nov, 2008 1 commit
-
-
Max Kellermann authored
SEEK_SET is defined by unistd.h. Explicitly include it.
-
- 21 Nov, 2008 1 commit
-
-
Max Kellermann authored
Refuse to play audio formats which are not supported by MPD.
-
- 20 Nov, 2008 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
The ov_info() return value may be corrupt when ov_read() did not return a positive value. First check for success, then check ov_info().
-
- 12 Nov, 2008 1 commit
-
-
Max Kellermann authored
Unfortunately, ov_fopen() is not supported by libvorbis versions older than 1.2.
-
- 11 Nov, 2008 9 commits
-
-
Max Kellermann authored
Due to an unnoticed merge error, there was a superfluous "}". Remove it.
-
Max Kellermann authored
Move the reponsibility for freeing the file handle to libvorbis.
-
Max Kellermann authored
-
Max Kellermann authored
Eliminate two decoder_get_command() invocations from the main loop.
-
Max Kellermann authored
Don't let the buffer grow until it is full, flush it whenever there is data available.
-
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
Having an array instead of individual variables allows the use of the replay_gain_mode enum as an array index.
-
Max Kellermann authored
Some code simplification. Avoid pointers to pointers.
-
Max Kellermann authored
Renamed functions and variables.
-
- 10 Nov, 2008 1 commit
-
-
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.
-
- 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.
-
- 03 Nov, 2008 1 commit
-
-
Max Kellermann authored
If an input stream provides tags (e.g. from an icecast server), send them in the decoder_data() and decoder_tag() methods. Removed the according code from the mp3 and oggvorbis plugins - decoders shouldn't have to care about stream tags. This patch also adds the missing decoder_tag() invocation to the mp3 plugin.
-
- 02 Nov, 2008 3 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
Provide an API for submitting additional tags from the stream.
-
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
-
- 30 Oct, 2008 1 commit
-
-
Max Kellermann authored
Don't return 0/-1 on success/error, but true/false. Instead of int, use bool for storing flags.
-
- 29 Oct, 2008 1 commit
-
-
Max Kellermann authored
A decoder_flush() invocation was missing in the FLAC plugin, resulting in casual assertion failures due to a wrong assumption about the last chunk's audio format. It's much easier to remove that decoder_flush() function and make the decoder thread call ob_flush().
-