Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | input/async: add offset/size comparison to IsEOF() | Max Kellermann | 2014-05-24 | 1 | -1/+2 | |
| | | ||||||
* | | input/curl: move code to AsyncInputStream | Max Kellermann | 2014-05-24 | 3 | -211/+409 | |
| | | | | | | | | | | New base class for other InputStream implementations that run in the I/O thread. | |||||
* | | input/curl: call SetReady() only if not yet ready | Max Kellermann | 2014-05-24 | 1 | -1/+2 | |
| | | | | | | Fixes assertion failure. | |||||
* | | input/curl: include cleanup | Max Kellermann | 2014-05-24 | 1 | -7/+0 | |
| | | ||||||
* | | InputStream: make Seek() always absolute | Max Kellermann | 2014-05-22 | 27 | -124/+181 | |
| | | | | | | | | | | Remove the "whence" parameter that is not actually necessary, and only complicates the InputStream implementations. | |||||
* | | decoder/vorbis: make VorbisInputStream::input_stream a reference | Max Kellermann | 2014-05-22 | 1 | -6/+6 | |
| | | ||||||
* | | decoder/vorbis: add VorbisInputStream constructor | Max Kellermann | 2014-05-22 | 1 | -14/+13 | |
| | | ||||||
* | | decoder/vorbis: rename struct vorbis_input_stream to VorbisInputStream | Max Kellermann | 2014-05-22 | 1 | -7/+7 | |
| | | ||||||
* | | decoder/vorbis: add "restrict" to pointers in vorbis_interleave() | Max Kellermann | 2014-05-22 | 1 | -2/+2 | |
| | | | | | | | | Allows more compiler optimizations. | |||||
* | | decoder/vorbis: log libvorbis version on startup | Max Kellermann | 2014-05-22 | 1 | -1/+11 | |
| | | ||||||
* | | decoder/wavpack: move code to WavpackInput::ReadBytes() | Max Kellermann | 2014-05-22 | 1 | -6/+12 | |
| | | ||||||
* | | decoder/wavpack: convert WavpackInput attributes to references | Max Kellermann | 2014-05-22 | 1 | -12/+12 | |
| | | ||||||
* | | decoder/wavpack: move wavpack_input_init into struct WavpackInput | Max Kellermann | 2014-05-22 | 1 | -16/+7 | |
| | | ||||||
* | | decoder/wavpack: wavpack_open_wvc() returns WavpackInput* | Max Kellermann | 2014-05-22 | 1 | -14/+12 | |
| | | ||||||
* | | DecoderAPI: add function decoder_open_uri() | Max Kellermann | 2014-05-22 | 3 | -18/+43 | |
| | | | | | | Move and refactor code from the Wavpack decoder plugin. | |||||
* | | decoder/wavpack: rename struct wavpack_input to WavpackInput | Max Kellermann | 2014-05-22 | 1 | -8/+8 | |
| | | ||||||
* | | input/curl: relock mutex in error paths | Max Kellermann | 2014-05-21 | 1 | -2/+7 | |
| | | ||||||
* | | input/curl: pass remaining size to CircularBuffer::Append() | Max Kellermann | 2014-05-21 | 1 | -1/+1 | |
| | | ||||||
* | | input/curl: move code to IcyInputStream | Max Kellermann | 2014-05-21 | 5 | -86/+218 | |
| | | ||||||
* | | input/rewind: move code to class ProxyInputStream | Max Kellermann | 2014-05-21 | 3 | -59/+175 | |
| | | ||||||
* | | input/InputStream: move Open() to Open.cxx | Max Kellermann | 2014-05-21 | 2 | -50/+72 | |
| | | | | | | | | Allow compiling test programs with only selected plugins. | |||||
* | | input/rewind: include cleanup | Max Kellermann | 2014-05-21 | 1 | -4/+2 | |
| | | ||||||
* | | input/rewind: work around assertion failure | Max Kellermann | 2014-05-21 | 1 | -1/+1 | |
| | | | | | | | | Caused by commit 0b4fa41a | |||||
* | | ThreadInputStream: include cleanup | Max Kellermann | 2014-05-12 | 1 | -1/+0 | |
| | | ||||||
* | | InputStream: "protect" attributes | Max Kellermann | 2014-05-12 | 14 | -37/+53 | |
| | | ||||||
* | | input/cdio: convert to class | Max Kellermann | 2014-05-12 | 1 | -1/+2 | |
| | | ||||||
* | | input/cdio: move initialization code to constructor | Max Kellermann | 2014-05-12 | 1 | -51/+50 | |
| | | | | | | | | | | | | Make attributes const, don't allow partial initialization. Instantiate the CdioParanoiaInputStream object at the end of input_cdio_open(). | |||||
* | | input/cdio: handle cdio_open() failure | Max Kellermann | 2014-05-12 | 1 | -0/+5 | |
| | | ||||||
* | | input/cdio: initialize lsn_relofs in constructor | Max Kellermann | 2014-05-12 | 1 | -2/+1 | |
| | | ||||||
* | | input/cdio: initialize attribute "buffer_lsn" | Max Kellermann | 2014-05-12 | 1 | -1/+2 | |
| | | ||||||
* | | input/cdio: remove unused attribute "trackno" | Max Kellermann | 2014-05-12 | 1 | -11/+6 | |
| | | ||||||
* | | Merge tag 'v0.18.11' | Max Kellermann | 2014-05-12 | 1 | -1/+1 | |
|\| | ||||||
| * | decoder/OggUtil: allow skipping up to 32 kB after seek | Max Kellermann | 2014-04-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | Fixes missing song length on high-latency Opus files. According to tests with 320 kbit/s opus files with 60ms packets, we need to skip up to 29 kB. | |||||
| * | DeferredMonitor: fix race condition when using GLib event loop | Max Kellermann | 2014-04-26 | 2 | -11/+22 | |
| | | | | | | | | | | | | | | | | | | Turns out the lock-free code using atomics was not thread-safe. The given callback could be invoked by GLib before the source_id attribute was assigned. This commit changes the DeferredMonitor class to use a Mutex to block the event loop until source_id is assigned. This bug does not exist in the 0.19 branch because it does not use the GLib main loop anymore. | |||||
* | | icu/Collate: use u_strFoldCase() instead of ucol_getSortKey() | Max Kellermann | 2014-05-12 | 1 | -10/+41 | |
| | | | | | | | | Turns out ucol_getSortKey() does not what I thought it does. | |||||
* | | icu/Collate: UCharFromUTF8() returns WritableBuffer<UChar> | Max Kellermann | 2014-05-12 | 1 | -19/+20 | |
| | | ||||||
* | | icu/Collate: initialize error_code | Max Kellermann | 2014-05-12 | 1 | -1/+1 | |
| | | | | | | | | Fixes the broken "search" command. | |||||
* | | mixer/software: keep attribute "volume" in the 0..100 range | Max Kellermann | 2014-05-12 | 1 | -7/+19 | |
| | | | | | | | | | | The attribute must be 0..100 and not 0..1024. Previously, the code was inconsistent. | |||||
* | | InputStream: remove attribute "plugin" | Max Kellermann | 2014-05-11 | 16 | -63/+21 | |
| | | ||||||
* | | InputStream: make various methods abstract | Max Kellermann | 2014-05-11 | 19 | -643/+252 | |
| | | | | | | | | Replace InputPlugin attributes. | |||||
* | | InputStream: add virtual destructor | Max Kellermann | 2014-05-11 | 26 | -173/+42 | |
| | | | | | | Replaces the method Close(). | |||||
* | | input/plugins: make InputStream the base class | Max Kellermann | 2014-05-11 | 15 | -320/+236 | |
| | | | | | | | | Prepare for adding virtual methods. | |||||
* | | input/rewind: convert to class | Max Kellermann | 2014-05-11 | 1 | -46/+89 | |
| | | ||||||
* | | InputStream: convert to class | Max Kellermann | 2014-05-11 | 30 | -68/+130 | |
| | | ||||||
* | | PlaylistCommands: remove redundant playlist_load_spl() call | Max Kellermann | 2014-05-10 | 3 | -56/+1 | |
| | | | | | | | | | | This case is handled already by playlist_open_in_playlist_dir() (via playlist_mapper_open()). And the call didn't work anyway. | |||||
* | | PlaylistMapper: use map_spl_utf8_to_fs() | Max Kellermann | 2014-05-10 | 1 | -10/+2 | |
| | | | | | | | | | | | | Eliminates some overhead and some duplicate code, and fixes a serious bug: the old code did not append the ".m3u" suffix, and thus the "load" command was completely broken for stored playlists. D'oh! | |||||
* | | db/Count: implement grouping | Max Kellermann | 2014-04-27 | 3 | -9/+98 | |
| | | ||||||
* | | db/Count: add constructor | Max Kellermann | 2014-04-27 | 1 | -2/+3 | |
| | | ||||||
* | | DatabasePrint: move PrintSongCount() to Count.cxx | Max Kellermann | 2014-04-26 | 5 | -54/+111 | |
| | | ||||||
* | | db/Helpers: split library | Max Kellermann | 2014-04-25 | 5 | -47/+98 | |
| | |