aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-07DecoderPlugin: pass Path instance to file_decode() and scan_file()Max Kellermann1-1/+2
2014-01-24Input*: move to input/Max Kellermann1-3/+3
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-2/+2
2014-01-13copyright year 2014Max Kellermann1-1/+1
2013-12-15test/*: use fprintf(stderr,...) and Log() instead of g_printerr()Max Kellermann1-30/+19
Avoid GLib.
2013-12-15configure.ac: add option "--disable-glib"Max Kellermann1-0/+4
Allows building without GLib. This fails to compile currently, because GLib is still used in the MPD core.
2013-12-14DecoderAPI: add function decoder_read_full()Max Kellermann1-0/+18
Move code from the "mad" plugin.
2013-12-14DecoderAPI: add function decoder_skip()Max Kellermann1-0/+16
Move code from the "mad" plugin.
2013-10-26DecoderControl: move code/attributes to new class MixRampInfoMax Kellermann1-4/+1
2013-10-25ReplayGainInfo: refactor to a classMax Kellermann1-2/+2
2013-10-25ReplayGainInfo: use CamelCase for struct nameMax Kellermann1-4/+3
2013-10-24test/run_decoder: print the song durationMax Kellermann1-3/+4
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-7/+7
2013-10-21decoder: rename the struct to "Decoder"Max Kellermann1-15/+18
2013-10-21DecoderPlugin: move functions into the structMax Kellermann1-3/+2
2013-10-21decoder_plugin: rename struct to DecoderPluginMax Kellermann1-1/+1
2013-10-19*: use references instead of pointersMax Kellermann1-2/+2
2013-10-17thread/{Cond,Mutex}: use "class" instead of "typedef"Max Kellermann1-0/+1
Allows forward-declaration.
2013-10-02Log: new logging library APIMax Kellermann1-2/+3
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-27DecoderCommand: convert to strictly-typed enumMax Kellermann1-6/+6
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann1-7/+6
2013-09-04util/Error: new error passing libraryMax Kellermann1-10/+10
Replaces GLib's GError.
2013-09-03IOThread: use FatalError() on g_thread_create() errorMax Kellermann1-5/+1
New GLib versions don't fail.
2013-09-03input_stream.h: rename to InputLegacy.hxxMax Kellermann1-1/+1
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-20/+20
2013-08-03audio_format: convert to C++Max Kellermann1-3/+3
2013-07-31DecoderAPI: pass rvalue reference to decoder_tag()Max Kellermann1-1/+1
Avoid duplicating the tag.
2013-07-30tag: convert to C++Max Kellermann1-1/+1
2013-07-28decoder_api: convert to C++Max Kellermann1-1/+1
2013-04-17don't use g_thread_init() with GLib 2.32Max Kellermann1-0/+3
Deprecated.
2013-01-30decoder_list: convert to C++Max Kellermann1-3/+1
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann1-5/+2
2013-01-10io_thread: convert to C++Max Kellermann1-1/+1
2013-01-10input_stream: convert to C++ (internally)Max Kellermann1-1/+3
2013-01-09test/run_decoder,read_tags: remove obsolete dummy functionsMax Kellermann1-21/+0
2013-01-05DecoderAPI: _replay_gain() returns voidMax Kellermann1-4/+1
Let the function decoder_replay_gain() update decoder_control::replay_gain_db instead of letting each decoder plugin take care for that.
2012-08-08tag_pool: use GStaticMutexMax Kellermann1-5/+0
Eliminates explicit global initialisation.
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann1-1/+1
Some compilers are very picky, but we really aren't interested in the return value.
2012-03-19event_pipe, test: explicitly ignore write() return valueMax Kellermann1-1/+1
Some compilers are very picky, but we really aren't interested in the return value.
2012-02-13test/run_decoder: initialize GThreadMax Kellermann1-0/+1
2012-02-04test/run_decoder: initialize the tag_pool libraryMax Kellermann1-0/+5
2011-10-20pcm_volume: "length" is a "size_t", not "int"Max Kellermann1-1/+1
2011-10-10pcm_{mix,volume}: pass only sample_format to pcm_mix()Max Kellermann1-1/+1
The other audio_format attributes are not used.
2011-10-03test/run_decoder: initialize GThreadMax Kellermann1-0/+1
Needed for the I/O thread.
2011-09-16input_stream: non-blocking I/OMax Kellermann1-2/+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-08-24input/soup: new input plugin based on libsoupMax Kellermann1-0/+10
To demonstrate the new I/O thread. libsoup is well-integrated into the GLib main loop, which made this plugin pretty easy to write. As a side effect, we have to initialize the I/O thread in all debug programs that use the input API.
2011-01-29copyright year 2011Max Kellermann1-1/+1
2010-07-20test/run_decoder: dump replay gainMax Kellermann1-1/+12
2010-05-20test: enable binary mode on stdin/stdoutMax Kellermann1-0/+1
Declaring the global variable _CRT_fmode is a documented hack. What an ugly platform!
2010-05-08mixramp: Adjust MixRamp threshold to account for ReplayGain.Tim Phipps1-1/+3