aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Mixer: use reference instead of pointer for MixerPluginMax Kellermann2014-02-051-1/+1
|
* MixerPlugin: add EventLoop& init() parameterMax Kellermann2014-02-052-14/+7
|
* event/Loop: remove the dummy constructor argumentMax Kellermann2014-02-055-5/+5
|
* test/ShutdownHandler: make the constructor "explicit"Max Kellermann2014-02-051-1/+1
|
* db/DatabaseListener: add method OnDatabaseSongRemoved()Max Kellermann2014-02-041-0/+4
| | | | Decouples db/update/Remove.cpp from global variables.
* Instance: add Database attributeMax Kellermann2014-02-041-2/+9
| | | | Move from db/DatabaseGlue.cxx, eliminating global variable.
* db/DatabasePlaylist: pass Database reference aroundMax Kellermann2014-02-041-4/+6
| | | | Reduce global variable usage, move to frontend code.
* SongLoader: new class that merges duplicate codeMax Kellermann2014-02-031-10/+41
| | | | | There was quite a lot of duplicate code for loading DetachedSong objects, with different semantics for "securely" loading local files.
* output: move functions into the AudioOutput structMax Kellermann2014-01-291-1/+0
|
* output: rename source filesMax Kellermann2014-01-281-1/+1
|
* output: rename struct audio_output to AudioOutputMax Kellermann2014-01-281-4/+4
|
* OutputAll: convert to class, move instance to class PartitionMax Kellermann2014-01-281-3/+6
| | | | Another big chunk of code for multi-player support.
* Playlist{Info,Vector}: move to db/Max Kellermann2014-01-271-1/+1
|
* Merge branch 'v0.18.x'Max Kellermann2014-01-271-0/+85
|\
| * IcyMetadataParser: more robust tag parserMax Kellermann2014-01-271-0/+15
| | | | | | | | | | Allow semicolons and single quotes in the stream title. This is not part of any specification, but found in real life.
| * test/test_icy_parser: unit test for IcyMetaDataParser.cxxMax Kellermann2014-01-271-0/+70
| |
* | neighbor: new subsystem to detect file servers on the local networkMax Kellermann2014-01-262-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the NeighborPlugin API which can be used to detect nearby file servers that can be used by input plugins. This list of servers is exported using the new "listneighbors" command. The idle even "neighbor" notifies interested clients when a new neighbor is found or an existing one is lost. There's a lot missing currently: protocol&user documentation, and a way to "mount" remote servers into the music database. Obviously, some code from the UPnP database plugin can be moved to a neighbor plugin.
* | Mixer*: move to mixer/Max Kellermann2014-01-242-3/+3
| |