aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-10PlayerControl: switch to the Mutex/Cond classesMax Kellermann3-13/+10
2013-01-10thread/Cond: new wrapper for pthread_cond_t or GCondMax Kellermann5-0/+189
2013-01-10thread/GLibMutex: new Mutex implementationMax Kellermann2-19/+44
Switch WIN32 to this implementation to be able to use condition variables, which is impossible with CriticalSection.
2013-01-10PlayerThread: use pc.cond instead of main_condMax Kellermann4-8/+2
The main_cond variable was completely unnecessary. The pc.cond object can be used for both main->pc and pc->main.
2013-01-10DecoderControl: take ownership of client_condMax Kellermann4-7/+8
Don't let the "client" pass its own GCond. This was not used consistently.
2013-01-10DecoderThread: signal the client after decoder finishesMax Kellermann1-0/+2
Fixes potential dead lock bug.
2013-01-10thread/PosixMutex: fix indentMax Kellermann1-13/+13
2013-01-10GlobalEvents: lock-less operation using std::atomicMax Kellermann3-39/+9
Use a bit field instead of a mutex-protected bool array.
2013-01-10event/WakeFD: use eventfd() if availableMax Kellermann2-1/+46
2013-01-10fd_util: support eventfd()Max Kellermann2-0/+25
2013-01-09GlobalEvents: move code to class WakeFDMax Kellermann3-27/+148
2013-01-09EventPipe: rename to GlobalEventsMax Kellermann16-268/+261
2013-01-09EventPipe: use Mutex instead of GMutexMax Kellermann1-10/+7
2013-01-09event_pipe.h: convert to C++Max Kellermann13-40/+14
2013-01-09sig_handlers, log: convert to C++Max Kellermann6-17/+13
2013-01-09mixer/{alsa,pulse}: convert to C++Max Kellermann6-29/+57
2013-01-09Playlist.hxx: move prototype to PlaylistGlobal.hxxMax Kellermann4-3/+28
2013-01-09Playlist: move playlist_increment_version_all() into the classMax Kellermann3-6/+5
2013-01-09event_pipe: convert to C++Max Kellermann2-3/+11
2013-01-09idle: convert to C++Max Kellermann17-43/+23
2013-01-09ReplayGainCoinfig: initialize replay_gain_limit with default valueMax Kellermann1-1/+1
2013-01-09ReplayGainCoinfig: make DEFAULT_REPLAYGAIN_LIMIT staticMax Kellermann1-1/+1
2013-01-09ClientList: don't use GLibMax Kellermann5-20/+19
Use std::list instead of GList.
2013-01-09ClientList: add header ClientList.hxxMax Kellermann8-18/+51
2013-01-09zeroconf-bonjour: include Listen.hxx instead of listen.hMax Kellermann1-1/+1
Should fix the OS X build.
2013-01-08Queue: use std::stable_sort() instead of g_qsort_with_data()Max Kellermann1-26/+8
2013-01-08song: don't use GLibMax Kellermann4-4/+12
2013-01-08util/list: don't use GLibMax Kellermann2-3/+3
2013-01-08Queue: allocate memory with new/deleteMax Kellermann1-5/+5
2013-01-08Queue: use signed integer instead of G_MAXUINTMax Kellermann1-1/+1
The check for unsigned underflow is fragile and unreliable.
2013-01-08Queue: move code to new class IdTableMax Kellermann3-47/+107
2013-01-08Queue: rename internal typesMax Kellermann2-19/+19
2013-01-08Queue: move HASH_MULT and Item into the Queue classMax Kellermann1-29/+27
2013-01-08Queue: move GenerateId() and others into the classMax Kellermann2-82/+81
2013-01-08decoder/OggUtil,Opus: move code to new class OggSyncStateMax Kellermann4-36/+102
2013-01-08decoder/Opus: read total timeMax Kellermann3-0/+100
2013-01-08decoder/OggUtil: add OggExpectPageSeek()Max Kellermann2-0/+56
2013-01-08decoder/Opus: move page reader into the decoder classMax Kellermann1-13/+34
2013-01-08decoder/Opus: move code to HandlePackets()Max Kellermann1-0/+7
2013-01-08decoder/Opus: make internal methods inlineMax Kellermann1-5/+5
2013-01-08decoder/OggUtil: add OggExpectFirstPage() and OggExpectPageIn()Max Kellermann3-8/+48
2013-01-08decoder/Opus: use OggExpectPage() in main loopMax Kellermann1-7/+5
2013-01-08decoder/OggUtil: add struct forward declarationsMax Kellermann2-5/+8
2013-01-07input_stream: add method _cheap_seeking()Max Kellermann3-3/+15
Move code from the Vorbis decoder plugin.
2013-01-07decoder/ogg_codec: convert to C++Max Kellermann5-15/+8
2013-01-07decoder/vorbis: convert to C++Max Kellermann5-20/+56
2013-01-07Queue: don't include glib.hMax Kellermann1-3/+1
2013-01-07Queue: use C++ random instead of GLib's GRandMax Kellermann2-10/+18
2013-01-07util/LazyRandomEngine: lazy wrapper for std::mt19937Max Kellermann2-0/+98
2013-01-07Queue: move queue_shuffle_order_first() into the classMax Kellermann2-5/+6