aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/WavpackDecoderPlugin.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-10-21decoder: rename the struct to "Decoder"Max Kellermann1-7/+7
2013-10-21decoder_plugin: rename struct to DecoderPluginMax Kellermann1-1/+1
2013-10-20TagType: rename enum tag_type to TagTypeMax Kellermann1-2/+2
2013-10-19*: use nullptr instead of NULLMax Kellermann1-17/+17
2013-10-15Util/Macros: replacement for GLib's G_N_ELEMENTS()Max Kellermann1-1/+2
2013-10-02Log: new logging library APIMax Kellermann1-13/+13
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-27DecoderCommand: convert to strictly-typed enumMax Kellermann1-3/+3
2013-09-05Tag, ...: move to libtag.aMax Kellermann1-1/+1
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann1-10/+5
2013-09-04Tag*: move libtag.a sources to src/tag/Max Kellermann1-1/+1
2013-09-04util/Error: new error passing libraryMax Kellermann1-7/+11
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-1/+1
2013-08-03audio_format: convert to C++Max Kellermann1-12/+12
2013-07-29audio_check: convert to C++Max Kellermann1-5/+1
2013-07-29tag_handler: convert to C++Max Kellermann1-1/+1
2013-07-29ape: convert to C++Max Kellermann1-1/+1
2013-07-28decoder_api: convert to C++Max Kellermann1-1/+1
2013-01-28InputStream: use std::stringMax Kellermann1-1/+2
2013-01-28InputStream: store references instead of pointersMax Kellermann1-1/+1
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-2/+2
2013-01-26input_stream: forward-declare the structMax Kellermann1-0/+1
Hide the definition from C code, to prepare the transition to C++.
2013-01-10decoder/wavpack: convert to C++Max Kellermann1-24/+32
2013-01-10decoder/wavpack: include cleanupMax Kellermann1-3/+0
2012-09-25decoder/wavpack: support all APEv2 tagsMax Kellermann1-16/+12
WavPack tags are always APEv2, by definition. Reuse the tag_table from tag_ape.c, instead of rolling our own.
2012-02-12decoder/wavpack: bigger tag value bufferMax Kellermann1-2/+1
Prepare for big CUESHEET tags.
2012-02-12tag_handler: handle arbitrary name/value pairsMax Kellermann1-0/+27
The new method pair() receives an arbitrary name/value pair. Support for this is being added to a few decoder plugins.
2012-02-11decoder/wavpack: move code to wavpack_scan_tag_item()Max Kellermann1-26/+17
Remove clutter from wavpack_scan_file(), and use a (large) fixed buffer for the tag item.
2012-02-11decoder/wavpack: use the tag_table libraryMax Kellermann1-8/+7
2012-02-11decoder_plugin: scan tags with callback tableMax Kellermann1-10/+12
Pass a callback table to scan_file() and scan_stream(), instead of returning a tag object.
2011-10-20decoder/wavpack: read float samples as-is, don't convert to integerMax Kellermann1-5/+4
For MPD's new floating point support: when a decoded wavpack file needs to be resampled, don't convert float to int and back to float.
2011-10-08decoder/wavpack: don't call WavpackGetMode() twiceMax Kellermann1-1/+1
Use local variable "is_float".
2011-09-16input_stream: non-blocking I/OMax Kellermann1-4/+8
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-07-20wavpack: obey all decoder commands, stop at CUE track borderMax Kellermann1-9/+6
It used to ignore the decoder_data() return value.
2011-07-20decoder/wavpack: use the correct integer typesMax Kellermann1-10/+5
libwavpack provides int32_t samples, and wants uin32_t for sample counts.
2011-07-20decoder/wavpack: simplify the WavpackUnpackSamples()==0 checkMax Kellermann1-17/+14
.. and remove one indent level.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-02-17replay_gain_info: allocate the struct staticallyMax Kellermann1-17/+8
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-20decoder/wavpack: fixed WVC URIMax Kellermann1-4/+5
Pass the current URI to wavpack_open_wvc().
2010-01-18decoder_api: removed function decoder_get_uri()Max Kellermann1-7/+2
Use input_stream.uri.
2010-01-04renamed decoder plugin sourcesMax Kellermann1-0/+0
Make it X_decoder_plugin.c.
2010-01-04decoder_api: added function decoder_replay_gain()Max Kellermann1-9/+7
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.
2010-01-01input_stream: return allocated input_stream objectsMax Kellermann1-14/+13
Major API redesign: don't let the caller allocate the input_stream object. Let each input plugin allocate its own (derived/extended) input_stream pointer. The "data" attribute can now be removed, and all input plugins simply cast the input_stream pointer to their own structure (with an "struct input_stream base" as the first attribute).
2009-12-31Update copyright notices.Avuton Olrich1-1/+1
2009-12-26decoder_api: added function decoder_timestamp()Max Kellermann1-9/+2
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-26decoder/wavpack: allow fine-grained seekingMax Kellermann1-3/+2
First multiply the floating point return value of decoder_seek_where(), then cast to integer.
2009-12-15input_stream: return errors with GErrorMax Kellermann1-3/+3
2009-12-11decoder/wavpack: don't use the nonstandard "uchar" typeMax Kellermann1-1/+1
Use the signed C99 type int8_t instead.
2009-12-02audio_format: changed "bits" to "enum sample_format"Max Kellermann1-12/+35
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-14decoder: use audio_format_init_checked()Max Kellermann1-12/+13
Let the audio_check library verify the audio format in all (relevant, i.e. non-hardcoded) plugins.
2009-11-12include config.h in all sourcesMax Kellermann1-3/+4
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.