Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Queue: allocate memory with new/delete | Max Kellermann | 2013-01-08 | 1 | -5/+5 |
| | |||||
* | Queue: use signed integer instead of G_MAXUINT | Max Kellermann | 2013-01-08 | 1 | -1/+1 |
| | | | | The check for unsigned underflow is fragile and unreliable. | ||||
* | Queue: move code to new class IdTable | Max Kellermann | 2013-01-08 | 3 | -47/+107 |
| | |||||
* | Queue: rename internal types | Max Kellermann | 2013-01-08 | 2 | -19/+19 |
| | |||||
* | Queue: move HASH_MULT and Item into the Queue class | Max Kellermann | 2013-01-08 | 1 | -29/+27 |
| | |||||
* | Queue: move GenerateId() and others into the class | Max Kellermann | 2013-01-08 | 2 | -82/+81 |
| | |||||
* | decoder/OggUtil,Opus: move code to new class OggSyncState | Max Kellermann | 2013-01-08 | 4 | -36/+102 |
| | |||||
* | decoder/Opus: read total time | Max Kellermann | 2013-01-08 | 3 | -0/+100 |
| | |||||
* | decoder/OggUtil: add OggExpectPageSeek() | Max Kellermann | 2013-01-08 | 2 | -0/+56 |
| | |||||
* | decoder/Opus: move page reader into the decoder class | Max Kellermann | 2013-01-08 | 1 | -13/+34 |
| | |||||
* | decoder/Opus: move code to HandlePackets() | Max Kellermann | 2013-01-08 | 1 | -0/+7 |
| | |||||
* | decoder/Opus: make internal methods inline | Max Kellermann | 2013-01-08 | 1 | -5/+5 |
| | |||||
* | decoder/OggUtil: add OggExpectFirstPage() and OggExpectPageIn() | Max Kellermann | 2013-01-08 | 3 | -8/+48 |
| | |||||
* | decoder/Opus: use OggExpectPage() in main loop | Max Kellermann | 2013-01-08 | 1 | -7/+5 |
| | |||||
* | decoder/OggUtil: add struct forward declarations | Max Kellermann | 2013-01-08 | 2 | -5/+8 |
| | |||||
* | input_stream: add method _cheap_seeking() | Max Kellermann | 2013-01-07 | 3 | -3/+15 |
| | | | | Move code from the Vorbis decoder plugin. | ||||
* | decoder/ogg_codec: convert to C++ | Max Kellermann | 2013-01-07 | 5 | -15/+8 |
| | |||||
* | decoder/vorbis: convert to C++ | Max Kellermann | 2013-01-07 | 5 | -20/+56 |
| | |||||
* | Queue: don't include glib.h | Max Kellermann | 2013-01-07 | 1 | -3/+1 |
| | |||||
* | Queue: use C++ random instead of GLib's GRand | Max Kellermann | 2013-01-07 | 2 | -10/+18 |
| | |||||
* | util/LazyRandomEngine: lazy wrapper for std::mt19937 | Max Kellermann | 2013-01-07 | 2 | -0/+98 |
| | |||||
* | Queue: move queue_shuffle_order_first() into the class | Max Kellermann | 2013-01-07 | 2 | -5/+6 |
| | |||||
* | Queue: move queue_shuffle_order_range() into the class | Max Kellermann | 2013-01-07 | 2 | -12/+13 |
| | |||||
* | Playlist: convert functions to methods | Max Kellermann | 2013-01-07 | 15 | -769/+651 |
| | |||||
* | DatabaseQueue: pass DatabaseSelection to Add...() | Max Kellermann | 2013-01-07 | 4 | -15/+10 |
| | |||||
* | Client: add Partition reference attribute | Max Kellermann | 2013-01-07 | 8 | -31/+30 |
| | | | | playlist and player_control are deprecated. | ||||
* | TagPool: use the Mutex class instead of GStaticMutex | Max Kellermann | 2013-01-07 | 3 | -22/+13 |
| | |||||
* | tag: convert to C++ | Max Kellermann | 2013-01-07 | 9 | -85/+113 |
| | |||||
* | DatabaseLock: use the Mutex class instead of GLib's GMutex | Max Kellermann | 2013-01-07 | 2 | -4/+5 |
| | |||||
* | thread/Mutex: don't use std::mutex | Max Kellermann | 2013-01-07 | 2 | -8/+68 |
| | | | | Use a custom pthread_mutex_t wrapper because std::mutex adds overhead. | ||||
* | replay_gain_info, ...: use cmath instead of math.h in C++ mode | Max Kellermann | 2013-01-07 | 5 | -8/+20 |
| | | | | Fixes build problems with mingw32. | ||||
* | filter/replay_gain: convert to C++ | Max Kellermann | 2013-01-07 | 5 | -17/+22 |
| | |||||
* | decoder_api.h, ...: add "extern C" | Max Kellermann | 2013-01-07 | 45 | -73/+86 |
| | |||||
* | mixer_all: convert to C++ | Max Kellermann | 2013-01-07 | 11 | -23/+18 |
| | |||||
* | volume: convert to C++ | Max Kellermann | 2013-01-07 | 6 | -13/+12 |
| | |||||
* | audio_config, volume, mixer_all: include cleanup | Max Kellermann | 2013-01-07 | 3 | -10/+0 |
| | |||||
* | Queue: use std::swap | Max Kellermann | 2013-01-06 | 2 | -7/+4 |
| | |||||
* | queue: convert all functions to methods | Max Kellermann | 2013-01-06 | 11 | -558/+473 |
| | |||||
* | Queue: add constructor and destructor | Max Kellermann | 2013-01-06 | 3 | -43/+31 |
| | |||||
* | Playlist: add constructor and destructor | Max Kellermann | 2013-01-06 | 3 | -27/+11 |
| | |||||
* | DatabaseQueue: force passing playlist reference to std::bind() | Max Kellermann | 2013-01-06 | 1 | -1/+1 |
| | | | | Avoid implicit copy. | ||||
* | Partition: new class, container for Playlist and PlayerControl | Max Kellermann | 2013-01-05 | 10 | -60/+102 |
| | | | | | This is the beginning of multi-player support. There will be support for multiple Partition objects in one MPD process. | ||||
* | filter/ReplayGain: add method _set_mode() | Max Kellermann | 2013-01-05 | 10 | -14/+56 |
| | | | | | Push the new mode to the filter instead of accessing global variables through replay_gain_get_real_mode(). | ||||
* | DecoderAPI: don't use replay_gain_get_real_mode() | Max Kellermann | 2013-01-05 | 1 | -1/+5 |
| | | | | | | | | replay_gain_get_real_mode() accesses dangerous globals. Let's just use the global variable replay_gain_mode, and assume "AUTO" means "TRACK". At this point, this is the best we can do, because neither the decoder nor the player should know about the current replay gain mode. This is applied as a filter in the output thread. | ||||
* | DecoderAPI: _replay_gain() returns void | Max Kellermann | 2013-01-05 | 4 | -17/+9 |
| | | | | | | Let the function decoder_replay_gain() update decoder_control::replay_gain_db instead of letting each decoder plugin take care for that. | ||||
* | replay_gain_*: convert to C++ | Max Kellermann | 2013-01-04 | 2 | -2/+9 |
| | |||||
* | replay_gain_config: remove unused variable replay_gain_mode_names | Max Kellermann | 2013-01-04 | 1 | -5/+0 |
| | |||||
* | DatabaseQueue: pass playlist object | Max Kellermann | 2013-01-04 | 4 | -8/+14 |
| | | | | Don't use the global variable "g_playlist". | ||||
* | Client: add "playlist" attribute | Max Kellermann | 2013-01-04 | 7 | -64/+84 |
| | | | | Reduce access to the global variable "g_playlist". | ||||
* | PlayerControl: initialize all attributes | Max Kellermann | 2013-01-04 | 1 | -1/+5 |
| |