aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Queue: use signed integer instead of G_MAXUINTMax Kellermann2013-01-081-1/+1
| | | | The check for unsigned underflow is fragile and unreliable.
* Queue: move code to new class IdTableMax Kellermann2013-01-083-47/+107
|
* Queue: rename internal typesMax Kellermann2013-01-082-19/+19
|
* Queue: move HASH_MULT and Item into the Queue classMax Kellermann2013-01-081-29/+27
|
* Queue: move GenerateId() and others into the classMax Kellermann2013-01-082-82/+81
|
* decoder/OggUtil,Opus: move code to new class OggSyncStateMax Kellermann2013-01-084-36/+102
|
* decoder/Opus: read total timeMax Kellermann2013-01-083-0/+100
|
* decoder/OggUtil: add OggExpectPageSeek()Max Kellermann2013-01-082-0/+56
|
* decoder/Opus: move page reader into the decoder classMax Kellermann2013-01-081-13/+34
|
* decoder/Opus: move code to HandlePackets()Max Kellermann2013-01-081-0/+7
|
* decoder/Opus: make internal methods inlineMax Kellermann2013-01-081-5/+5
|
* decoder/OggUtil: add OggExpectFirstPage() and OggExpectPageIn()Max Kellermann2013-01-083-8/+48
|
* decoder/Opus: use OggExpectPage() in main loopMax Kellermann2013-01-081-7/+5
|
* decoder/OggUtil: add struct forward declarationsMax Kellermann2013-01-082-5/+8
|
* input_stream: add method _cheap_seeking()Max Kellermann2013-01-073-3/+15
| | | | Move code from the Vorbis decoder plugin.
* decoder/ogg_codec: convert to C++Max Kellermann2013-01-075-15/+8
|
* decoder/vorbis: convert to C++Max Kellermann2013-01-075-20/+56
|
* Queue: don't include glib.hMax Kellermann2013-01-071-3/+1
|
* Queue: use C++ random instead of GLib's GRandMax Kellermann2013-01-072-10/+18
|
* util/LazyRandomEngine: lazy wrapper for std::mt19937Max Kellermann2013-01-072-0/+98
|
* Queue: move queue_shuffle_order_first() into the classMax Kellermann2013-01-072-5/+6
|
* Queue: move queue_shuffle_order_range() into the classMax Kellermann2013-01-072-12/+13
|
* Playlist: convert functions to methodsMax Kellermann2013-01-0715-769/+651
|
* DatabaseQueue: pass DatabaseSelection to Add...()Max Kellermann2013-01-074-15/+10
|
* Client: add Partition reference attributeMax Kellermann2013-01-078-31/+30
| | | | playlist and player_control are deprecated.
* TagPool: use the Mutex class instead of GStaticMutexMax Kellermann2013-01-073-22/+13
|
* tag: convert to C++Max Kellermann2013-01-079-85/+113
|
* DatabaseLock: use the Mutex class instead of GLib's GMutexMax Kellermann2013-01-072-4/+5
|
* thread/Mutex: don't use std::mutexMax Kellermann2013-01-072-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++ modeMax Kellermann2013-01-075-8/+20
| | | | Fixes build problems with mingw32.
* filter/replay_gain: convert to C++Max Kellermann2013-01-075-17/+22
|
* decoder_api.h, ...: add "extern C"Max Kellermann2013-01-0745-73/+86
|
* mixer_all: convert to C++Max Kellermann2013-01-0711-23/+18
|
* volume: convert to C++Max Kellermann2013-01-076-13/+12
|
* audio_config, volume, mixer_all: include cleanupMax Kellermann2013-01-073-10/+0
|
* Queue: use std::swapMax Kellermann2013-01-062-7/+4
|
* queue: convert all functions to methodsMax Kellermann2013-01-0611-558/+473
|
* Queue: add constructor and destructorMax Kellermann2013-01-063-43/+31
|
* Playlist: add constructor and destructorMax Kellermann2013-01-063-27/+11
|
* DatabaseQueue: force passing playlist reference to std::bind()Max Kellermann2013-01-061-1/+1
| | | | Avoid implicit copy.
* Partition: new class, container for Playlist and PlayerControlMax Kellermann2013-01-0510-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 Kellermann2013-01-0510-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 Kellermann2013-01-051-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 voidMax Kellermann2013-01-054-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 Kellermann2013-01-042-2/+9
|
* replay_gain_config: remove unused variable replay_gain_mode_namesMax Kellermann2013-01-041-5/+0
|
* DatabaseQueue: pass playlist objectMax Kellermann2013-01-044-8/+14
| | | | Don't use the global variable "g_playlist".
* Client: add "playlist" attributeMax Kellermann2013-01-047-64/+84
| | | | Reduce access to the global variable "g_playlist".
* PlayerControl: initialize all attributesMax Kellermann2013-01-041-1/+5
|
* Client: initialize num_subscriptionsMax Kellermann2013-01-041-1/+2
|