- 04 Nov, 2008 18 commits
-
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
Fixed the indent of the switch statement in format_samples_int().
-
Max Kellermann authored
Eliminate a superfluous decoder_get_command() call. decoder_data() already returns the command.
-
Max Kellermann authored
Removed the duplicate audio_format initialization.
-
Max Kellermann authored
decoder_read() handles decoder commands, and should be used in decoder plugins.
-
Max Kellermann authored
We need the decoder object, so we have to begin passing a new struct to these callbacks, instead of only the pointer to the input_stream object.
-
Max Kellermann authored
Replace deprecated code with GLib.
-
Max Kellermann authored
The API of mp4_load_tag() was strange: it always returned a tag object, no matter if a tag was found in the file; the existence of a tag was indicated with the tag_found integer reference. This flag is superfluous, since we can simply check whether the tag is empty or not.
-
Max Kellermann authored
Allocate the mp4ff_callback_t object on the stack. This is easier to handle, since we don't have to free it. Incidentally, this fixes a memory leak in mp4_load_tag().
-
Max Kellermann authored
Renamed functions and variables.
-
Max Kellermann authored
The function decoder_read() already cares about the decoder command, and loops until data is available. Reduced mpd_ffmpeg_read() to no more than the decoder_read() call.
-
Max Kellermann authored
That variable is never used except during initialization in ffmpeg_helper().
-
Max Kellermann authored
-
Max Kellermann authored
Renamed variables.
-
Max Kellermann authored
-
Max Kellermann authored
Fix prototypes and unused variables.
-
Max Kellermann authored
The OS X output plugin wasn't adapted to the new output plugin yet, because I had no Mac to test...
-
Max Kellermann authored
Although there is no AC_SUBST when $enable_mp4=no, autoconf substitutes its value in Makefile.am. Clear it in this case.
-
- 03 Nov, 2008 18 commits
-
-
Max Kellermann authored
dc.error wasn't updated when the input stream failed to initialize.
-
Max Kellermann authored
The function curl_multi_info_read() provides access to errors from the curl easy interface.
-
Max Kellermann authored
-
Max Kellermann authored
Removed the "volatile" attributes from several variables which are not important for synchronization.
-
Max Kellermann authored
Renamed variables and internal functions. Most of the player_control.h API remains in CamelCase for now.
-
Max Kellermann authored
-
Max Kellermann authored
The variable "next_song" is already protected by a memory barrier. "total_time" is not important for synchronization, and we don't need "volatile" here.
-
Max Kellermann authored
Renamed variables and functions.
-
Max Kellermann authored
Before passing the first chunk to the audio output device, send the current song's tag.
-
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.
-
Max Kellermann authored
tag_has_type() checks whether the tag contains one or more items with the specified type.
-
Max Kellermann authored
Renamed variables.
-
Avuton Olrich authored
The configure flag "--disable-oggflac" disabled only liboggflac.
-
Max Kellermann authored
The AC_SUBST() call was missing in the previous patch.
-
Max Kellermann authored
MPD used to have a copy of the mp4ff library. Since that has been removed, AAC suport was disabled when there was no libmp4ff. Separate the libmp4ff test, and enable AAC support no matter if libmp4ff is available.
-
Max Kellermann authored
When using autodetection, AlsaData.device wasn't properly initialized with NULL. This broke autodetection randomly.
-
Max Kellermann authored
The variables mod_mikModInitiated and mod_mikModInitError were used to control lazy initialization, but they are superfluous now.
-
Max Kellermann authored
The "mod" decoder plugin was being initialized lazily, but was deinitialized unconditionally. That led to segmentation faults. Convert mod_initMikMod() to be the global module initialization method. The MPD core should care about lazy initialization.
-
- 02 Nov, 2008 4 commits
-
-
Max Kellermann authored
Nobody should call playAudio() with an empty chunk. Add some assertions on that.
-
Max Kellermann authored
An empty chunk may happen when it only contains a tag, but no PCM data. Don't call playAudio() then.
-
Max Kellermann authored
ffmpeg_tag() deleted the tag when ffmpeg_helper() returned success. The return value was interpreted incorrectly, it should return the tag on success.
-
Max Kellermann authored
Cleaning up artifacts from a merge gone wrong. Also remove the ringbuf library, which is not being used.
-