summaryrefslogtreecommitdiff
path: root/test/run_decoder.cxx
AgeCommit message (Collapse)Author
2019-07-12test/run_decoder: catch StopDecoderMax Kellermann
This exception is usually thrown by class DecoderBridge, but the Opus plugin (ab)uses it as well, so we need to catch it.
2019-02-05decoder/List: add RAII classMax Kellermann
2019-02-05input/Init: add RAII classMax Kellermann
2019-02-05test/ConfigGlue: merge duplicate code from various debug programsMax Kellermann
2018-11-19check.h: remove obsolete headerMax Kellermann
Since we switched from autotools to Meson in commit 94592c14062d5afc9482d11baa401648082022c0, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
2018-10-31*: copyright year 2018Max Kellermann
2018-08-19test/run_decoder: allocate ConfigData in class GlobalInitMax Kellermann
2018-07-17input/Init: use struct ConfigDataMax Kellermann
2018-07-17decoder/List: use struct ConfigDataMax Kellermann
2018-07-17test/*: catch and print all exceptionsMax Kellermann
2018-07-16config/Config*: rename files, drop "Config" prefixMax Kellermann
2018-06-22input/Stream: remove attribute "cond", replace with handler interfaceMax Kellermann
This adds a bit of overhead, but also adds flexibility to the API, because arbitrary triggers may be invoked from that virtual method implementation, not just Cond::signal(). The motivation for this is to make the handlers more dynamic, for the upcoming buffering class utilizing ProxyInputStream.
2018-02-17test/DumpDecoderClient: convert to classMax Kellermann
2018-02-17test/FakeDecoderAPI: rename to DumpDecoderClientMax Kellermann
2018-02-13test/run_decoder: add command-line option to read mpd.confMax Kellermann
2018-02-13test/run_decder: RAII-style global initializationMax Kellermann
2017-02-10test/*: use class EventThread instead of ScopeIOThreadMax Kellermann
2017-01-26input/Plugin: pass EventLoop& to init()Max Kellermann
Eliminate dependency on io_thread_get().
2017-01-03update copyright yearMax Kellermann
2016-11-18decoder/Client: new interface which wraps struct DecoderMax Kellermann
Prepare for a Decoder API redesign based on an abstract class with virtual methods.
2016-09-09input/Plugin: migrate open() from class Error to C++ exceptionsMax Kellermann
2016-09-09input/Plugin: migrate init() from class Error to C++ exceptionsMax Kellermann
2016-07-11test/run_decoder: catch and print C++ exceptionsMax Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2016-02-21input: wrap InputStream in std::unique_ptrMax Kellermann
2015-08-15test/stdbin.h: remove obsolete headerMax Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-12-05configure.ac: require GLib 2.32 (if enabled)Max Kellermann
Since version 2.32, g_thread_init() is deprecated and a no-op. Let's upgrade that (optional) dependency so we can remove all those g_thread_init() calls.
2014-10-07test/run_input, ...: add struct ScopeIOThreadMax Kellermann
Auto-stop the IO thread in all error handlers.
2014-05-22DecoderAPI: add function decoder_open_uri()Max Kellermann
Move and refactor code from the Wavpack decoder plugin.
2014-05-22test/run_decoder: merge code into FakeDecoderAPI.cxxMax Kellermann
Eliminate duplicate code.
2014-05-22test/run_decoder: auto-initialize struct DecoderMax Kellermann
2014-05-22test/run_decoder: move the "uri" attribute out of struct DecoderMax Kellermann
2014-05-22test/run_decoder: move the DecoderPlugin pointer out of struct DecoderMax Kellermann
2014-05-11InputStream: add virtual destructorMax Kellermann
Replaces the method Close().
2014-03-16test/run_decoder: use InputStream::OpenReady() instead of InputStream::Open()Max Kellermann
2014-03-16test/{run_decoder,dump_playlist}: fix accidental search/replace hiccupsMax Kellermann
2014-02-07DecoderPlugin: pass Path instance to file_decode() and scan_file()Max Kellermann
2014-01-24Input*: move to input/Max Kellermann
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann
2014-01-13copyright year 2014Max Kellermann
2013-12-15test/*: use fprintf(stderr,...) and Log() instead of g_printerr()Max Kellermann
Avoid GLib.
2013-12-15configure.ac: add option "--disable-glib"Max Kellermann
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 Kellermann
Move code from the "mad" plugin.
2013-12-14DecoderAPI: add function decoder_skip()Max Kellermann
Move code from the "mad" plugin.
2013-10-26DecoderControl: move code/attributes to new class MixRampInfoMax Kellermann
2013-10-25ReplayGainInfo: refactor to a classMax Kellermann
2013-10-25ReplayGainInfo: use CamelCase for struct nameMax Kellermann
2013-10-24test/run_decoder: print the song durationMax Kellermann
2013-10-23input_stream: rename struct to InputStreamMax Kellermann