Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2013-11-28 | include cleanup using iwyu | Max Kellermann | 1 | -2/+0 | |
2013-10-25 | ReplayGainInfo: refactor to a class | Max Kellermann | 1 | -1/+1 | |
2013-10-25 | ReplayGainInfo: use CamelCase for struct name | Max Kellermann | 1 | -8/+8 | |
2013-10-23 | input_stream: rename struct to InputStream | Max Kellermann | 1 | -15/+14 | |
2013-10-21 | decoder: rename the struct to "Decoder" | Max Kellermann | 1 | -3/+3 | |
2013-10-21 | decoder_plugin: rename struct to DecoderPlugin | Max Kellermann | 1 | -1/+1 | |
2013-10-15 | Util/Macros: replacement for GLib's G_N_ELEMENTS() | Max Kellermann | 1 | -2/+2 | |
2013-10-02 | Log: new logging library API | Max Kellermann | 1 | -6/+9 | |
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | |||||
2013-09-27 | DecoderCommand: convert to strictly-typed enum | Max Kellermann | 1 | -4/+4 | |
2013-09-05 | Tag, ...: move to libtag.a | Max Kellermann | 1 | -1/+1 | |
2013-09-05 | InputLegacy: move functions to the input_stream class | Max Kellermann | 1 | -6/+6 | |
2013-09-04 | util/Error: new error passing library | Max Kellermann | 1 | -5/+6 | |
Replaces GLib's GError. | |||||
2013-08-03 | audio_format: convert to C++ | Max Kellermann | 1 | -4/+4 | |
2013-07-31 | decoder/mpcdec: remove support for the "old" API | Max Kellermann | 1 | -111/+34 | |
This old version has been obsolete for many years - time to remove it. | |||||
2013-07-29 | audio_check: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-07-29 | tag_handler: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-07-28 | decoder_api: convert to C++ | Max Kellermann | 1 | -1/+1 | |
2013-07-28 | decoder/mpcdec: convert to C++ | Max Kellermann | 1 | -10/+17 | |
2013-01-26 | input_stream: forward-declare the struct | Max Kellermann | 1 | -4/+4 | |
Hide the definition from C code, to prepare the transition to C++. | |||||
2012-02-11 | decoder_plugin: scan tags with callback table | Max Kellermann | 1 | -8/+8 | |
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object. | |||||
2011-09-16 | input_stream: non-blocking I/O | Max Kellermann | 1 | -1/+1 | |
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins. | |||||
2011-08-23 | decoder/mpcdec: fix gcc warning | Max Kellermann | 1 | -2/+2 | |
Move the variable "vbr_update_acc" into the #ifdef block. | |||||
2011-01-29 | copyright year 2011 | Max Kellermann | 1 | -1/+1 | |
2010-02-17 | replay_gain_info: allocate the struct statically | Max Kellermann | 1 | -8/+7 | |
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. | |||||
2010-01-04 | renamed decoder plugin sources | Max Kellermann | 1 | -0/+0 | |
Make it X_decoder_plugin.c. | |||||
2010-01-04 | decoder_api: added function decoder_replay_gain() | Max Kellermann | 1 | -3/+3 | |
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. | |||||
2009-12-31 | Update copyright notices. | Avuton Olrich | 1 | -1/+1 | |
2009-12-31 | decoder: switch a bunch of plugins to stream_tag() | Max Kellermann | 1 | -20/+8 | |
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. | |||||
2009-12-26 | decoder_api: added function decoder_timestamp() | Max Kellermann | 1 | -12/+4 | |
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. | |||||
2009-12-15 | input_stream: return errors with GError | Max Kellermann | 1 | -2/+2 | |
2009-12-02 | audio_format: changed "bits" to "enum sample_format" | Max Kellermann | 1 | -1/+2 | |
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. | |||||
2009-11-25 | decoder/mpcdec: set 24 bit sample format | Max Kellermann | 1 | -1/+1 | |
This fixes a regression due to a typo caused by "decoder: use audio_format_init_checked()". | |||||
2009-11-14 | decoder: use audio_format_init_checked() | Max Kellermann | 1 | -7/+7 | |
Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins. | |||||
2009-11-12 | include config.h in all sources | Max Kellermann | 1 | -1/+1 | |
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. | |||||
2009-07-19 | Add audio_format_init() function | David Woodhouse | 1 | -3/+1 | |
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. | |||||
2009-03-27 | mpcdec: changed plugin name to "mpcdec" | Max Kellermann | 1 | -3/+3 | |
The "mpcdec" plugin is based on the libmpcdec library. | |||||
2009-03-27 | mpcdec: support the new libmpcdec SV8 API | Max Kellermann | 1 | -14/+90 | |
2009-03-27 | mpcdec: no CamelCase | Max Kellermann | 1 | -57/+65 | |
Renamed variables and functions. | |||||
2009-03-13 | all: Update copyright header. | Avuton Olrich | 1 | -6/+7 | |
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. | |||||
2009-02-17 | decoders: added and fixed GLib log domains | Max Kellermann | 1 | -2/+4 | |
Fixed the log domains of the renamed decoders. Added G_LOG_DOMAIN macros in decoders which don't have one already. | |||||
2009-02-17 | renamed decoder plugin "mpc" to "mpcdec" | Max Kellermann | 1 | -1/+1 | |
This plugin is based on "libmpcdec". | |||||
2009-01-17 | moved fallback APE/ID3 tag loader to song.c | Max Kellermann | 1 | -9/+4 | |
Some plugins used the APE or ID3 tag loader as a fallback when their own methods of loading tags did not work. Move this code out of all decoder plugins, into song_file_update(). | |||||
2009-01-08 | added missing explicit config.h includes | Max Kellermann | 1 | -0/+1 | |
2008-11-24 | flac, mpc, ogg, wavpack: include unistd.h for SEEK_SET | Max Kellermann | 1 | -0/+1 | |
SEEK_SET is defined by unistd.h. Explicitly include it. | |||||
2008-11-21 | decoder: check audio_format_valid() in all decoders | Max Kellermann | 1 | -0/+8 | |
Refuse to play audio formats which are not supported by MPD. | |||||
2008-11-12 | mpc: assume the result fo of mpc_decoder_decode() is unsigned | Max Kellermann | 1 | -2/+2 | |
According to the documentation, mpc_decoder_decode() returns an mpc_uint32_t. Since the special return value (mpc_uint32_t)-1 translates to a very large long integer, this may cause segmentation faults if not interpreted properly. | |||||
2008-11-12 | mpc: don't assume the stream is stereo | Max Kellermann | 1 | -2/+1 | |
Don't hard-code the factor "2". | |||||
2008-11-12 | mpc: get decoder command from decoder_data() | Max Kellermann | 1 | -12/+9 | |
Removed 3 superfluous decoder_get_command() invocations. | |||||
2008-11-12 | mpc: moved code to mpc_to_mpd_buffer() | Max Kellermann | 1 | -14/+12 | |
mpc_to_mpd_buffer() converts a whole chunk at a time. This eliminates 3 local variables in mpc_decode(). | |||||
2008-11-12 | mpc: make the buffer large enough for one mpc frame | Max Kellermann | 1 | -28/+11 | |
Don't split the buffer conversion loop. When libmpcdec returns a chunk, convert and send the whole chunk at a time. This moves several checks out of the loop, and greatly improves performance. |