aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann2014-08-282-6/+6
|
* DecoderAPI: use std::chrono::duration for decoder_seek*()Max Kellermann2014-08-261-9/+3
| | | | For type safety and code readability.
* DecoderAPI: add decoder_seek_where_frame()Max Kellermann2014-08-261-0/+6
|
* DecoderAPI: add decoder_seek_where_ms()Max Kellermann2014-08-261-0/+6
| | | | Move to fixed-point integers instead of floating point.
* InputStream: move typedef offset_type to Offset.hxxMax Kellermann2014-08-191-22/+11
| | | | Reduce header dependencies.
* test/test_rewind: add missing stdlib.h includeMax Kellermann2014-08-131-0/+1
| | | | For EXIT_SUCCESS.
* PcmExport: use class ConstBufferMax Kellermann2014-08-121-22/+19
|
* test/test_pcm: add PcmExport unit testMax Kellermann2014-08-123-0/+148
|
* Filter: FilterPCM() returns ConstBufferMax Kellermann2014-08-121-6/+5
| | | | | API simplification. We can now avoid abusing a "size_t*" as additional return value.
* PcmConvert: Convert() returns ConstBufferMax Kellermann2014-08-121-6/+5
|
* input/GunzipInputStream: new classMax Kellermann2014-08-081-0/+76
|
* fs/output, fs/TextFile: move to fs/io/Max Kellermann2014-08-073-6/+6
|
* input/TextInputStream: return char*Max Kellermann2014-08-071-3/+3
| | | | | Revert to the old API before commit e9e55b08, removing unnecessary bloat.
* util/FifoBuffer: rename to StaticFifoBufferMax Kellermann2014-08-061-2/+2
|
* fs/GzipOutputStream: new class wrapping zlibMax Kellermann2014-08-061-0/+79
|
* *Save, *State: use the OutputStream API instead of FILE*Max Kellermann2014-07-302-0/+22
|
* Tag: add class const_iterator and methods begin(), end()Max Kellermann2014-07-121-2/+1
| | | | Enables using range-based "for".
* test/FakeDecoderAPI: dump MixRamp dataMax Kellermann2014-07-111-0/+2
|
* InputStream: make Seek() always absoluteMax Kellermann2014-05-221-3/+3
| | | | | Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations.
* DecoderAPI: add function decoder_open_uri()Max Kellermann2014-05-223-5/+13
| | | Move and refactor code from the Wavpack decoder plugin.
* test/run_decoder: merge code into FakeDecoderAPI.cxxMax Kellermann2014-05-223-137/+48
| | | | Eliminate duplicate code.
* test/run_decoder: auto-initialize struct DecoderMax Kellermann2014-05-221-2/+3
|
* test/run_decoder: move the "uri" attribute out of struct DecoderMax Kellermann2014-05-221-8/+4
|
* test/run_decoder: move the DecoderPlugin pointer out of struct DecoderMax Kellermann2014-05-221-8/+6
|
* test/test_rewind: unit test for class RewindInputStreamMax Kellermann2014-05-211-0/+164
|
* InputStream: add virtual destructorMax Kellermann2014-05-115-7/+6
| | | Replaces the method Close().
* InputStream: convert to classMax Kellermann2014-05-111-2/+2
|
* test/run_decoder: use InputStream::OpenReady() instead of InputStream::Open()Max Kellermann2014-03-161-1/+1
|
* test/{run_decoder,dump_playlist}: fix accidental search/replace hiccupsMax Kellermann2014-03-162-2/+2
|
* util/CircularBuffer: add method GetSpace()Max Kellermann2014-03-161-0/+10
|
* util/CircularBuffer: add method GetSize()Max Kellermann2014-03-161-0/+10
|
* util/CircularBuffer: rename GetSize() to GetCapacity()Max Kellermann2014-03-151-0/+2
|
* util/CircularBuffer: new buffer classMax Kellermann2014-03-152-0/+143
|
* test/test_pcm: replace 256 with prime numberMax Kellermann2014-03-156-13/+13
| | | | | Use some odd number that will expose problems with remaining samples after optimized vector operations.
* test/test_pcm_format: add unit test for float clampingMax Kellermann2014-03-151-0/+20
|
* test/test_pcm_all: move CPPUNIT_TEST_SUITE_REGISTRATION() to test_pcm_main.cxxMax Kellermann2014-03-152-12/+7
| | | | | | Run each unit test only once. Using CPPUNIT_TEST_SUITE_REGISTRATION from within the header meant that each unit class was registered again for each source file that includes the header.
* util/{Const,Writable}Buffer: add operator[]Max Kellermann2014-03-013-15/+15
|
* UriUtil: support ftp:// URLs in uri_remove_auth()Max Kellermann2014-02-241-0/+2
|
* PlayerListener: new interface to replace GlobalEvents accessMax Kellermann2014-02-211-3/+5
|
* test/run_{filter,output}: use config_find_block()Max Kellermann2014-02-202-34/+4
|
* DatabasePlugin: split headerMax Kellermann2014-02-191-0/+1
|
* Mixer: add class MixerListenerMax Kellermann2014-02-192-13/+4
| | | | Use a listener interface instead of GlobalEvents.
* test: various fixups for building without GLibMax Kellermann2014-02-187-4/+20
|
* ArchivePlugin: pass Path to open()Max Kellermann2014-02-081-1/+1
|
* ArchivePlugin: rename struct archive_plugin to ArchivePluginMax Kellermann2014-02-081-1/+1
|
* storage/local: remove utf8 path from constructorMax Kellermann2014-02-071-3/+4
| | | | Build the UTF-8 version of the path automatically in the constructor.
* StoragePlugin: add method MapToRelativeUTF8()Max Kellermann2014-02-071-16/+8
| | | | Replaces map_to_relative_path() from Mapper.cxx.
* DecoderPlugin: pass Path instance to file_decode() and scan_file()Max Kellermann2014-02-072-7/+9
|
* Mapper: move map_song_detach() to db/DatabaseSong.cxxMax Kellermann2014-02-071-6/+16
| | | | Use Storage::MapUTF8() internally, don't use global variables.
* mixer/Plugin: pass AudioOutput reference to init()Max Kellermann2014-02-061-54/+2
| | | | Passing a void pointer is unsafe.