summaryrefslogtreecommitdiff
path: root/test/run_convert.cxx
AgeCommit message (Collapse)Author
2021-03-08test/run_{input,output,convert}: switch file descriptors to binary modeMax Kellermann
Fixes those programs on Windows.
2021-03-08test/run_convert: use std::byteMax Kellermann
2021-03-08test/run_convert: pass FileDescriptor to RunConvert()Max Kellermann
2021-03-08test/run_convert: move code to RunConvert()Max Kellermann
2021-03-05test/run_convert: fix Windows compiler errorsMax Kellermann
2021-01-01copyright year 2021Max Kellermann
2020-03-16remove gcc_unusedRosen Penev
[[maybe_unused]] (introduced in C++17) is standard C++. https://clang.llvm.org/docs/AttributeReference.html#maybe-unused-unused says that this is equivalent to the GNU unused attribute. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-12replace assert.h with cassertRosen Penev
The former was deprecated with C++14. According to the C++11 and C++17 standards, both files are identical. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-03-12test/run_convert: add option --configMax Kellermann
2020-03-12test/run_convert: add option --verboseMax Kellermann
2020-03-12test/run_convert: move code to ParseCommandLine()Max Kellermann
2020-01-18AudioFormat: move to pcm/Max Kellermann
2020-01-18copyright year 2020Max Kellermann
2019-06-17pcm/Pcm*: drop more "Pcm" prefixes from source file namesMax Kellermann
2019-06-17Copyright year 2019Max Kellermann
2019-04-04pcm/PcmConvert: eliminate Open() and Close()Max Kellermann
Let the constructor and destructor do this. This means that all users have to be converted to allocate PcmConvert dynamically.
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-07-17test/*: catch and print all exceptionsMax Kellermann
2018-01-02filter/Filter: add virtual method Flush()Max Kellermann
This will be used by filters which have internal buffers which need to be flushed at the end, e.g. the "soxr" resampler.
2017-11-10util/{Const,Writable}Buffer, ...: rename IsEmpty() to empty(), imitating STLMax Kellermann
2017-01-03update copyright yearMax Kellermann
2016-12-13AudioFormat: add method WithMask(), shortcut for ApplyMask()Max Kellermann
2016-12-13test/run_convert: pass out_audio_format to PcmConvert::Open()Max Kellermann
2016-10-28AudioParser: throw exception on errorMax Kellermann
2016-09-09pcm/Convert: migrate from class Error to C++ exceptionsMax Kellermann
2016-07-04test/*: add missing includes for fprintf()Max Kellermann
2016-02-26update copyright year to 2016Max Kellermann
2015-08-15test/stdbin.h: remove obsolete headerMax Kellermann
2015-01-22Config: add section "resampler"Max Kellermann
2015-01-01Copyright year 2015Max Kellermann
2014-08-12PcmConvert: Convert() returns ConstBufferMax Kellermann
2014-08-06util/FifoBuffer: rename to StaticFifoBufferMax Kellermann
2014-01-24Config*: move to config/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-11-13PcmConvert: add methods Open(), Close()Max Kellermann
Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method.
2013-11-11filter/route, ...: add missing stdlib.h includesMax Kellermann
2013-10-15util/FifoBuffer: C++ version of the fifo_buffer libraryMax Kellermann
2013-09-05conf.h: remove obsolete headerMax Kellermann
Use only ConfigData.hxx in plugin sources to reduce header dependencies.
2013-09-04util/Error: new error passing libraryMax Kellermann
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann
2013-08-03audio_format: convert to C++Max Kellermann
2013-04-09pcm_*: move to src/pcm/Max Kellermann
2013-01-31pcm_convert: convert to C++Max Kellermann
2013-01-30audio_{parser,config}: convert to C++Max Kellermann
2013-01-30test/run_encoder, ...: convert to C++Max Kellermann