Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Log: add level "DEFAULT" | Max Kellermann | 2013-11-04 | 1 | -1/+1 |
| | | | | | | Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure". | ||||
* | PcmMix: use negative value instead of NaN for addition | Max Kellermann | 2013-10-30 | 1 | -3/+1 |
| | | | | Avoid NaN to allow -ffast-math. | ||||
* | CrossFade: use negative value for invalid mixramp_delay | Max Kellermann | 2013-10-30 | 1 | -1/+1 |
| | | | | Avoid NaN to allow -ffast-math. | ||||
* | PlayerControl: move attributes to struct CrossFadeSettings | Max Kellermann | 2013-10-29 | 1 | -12/+10 |
| | |||||
* | DecoderControl: convert mutex and client_cond to a reference | Max Kellermann | 2013-10-28 | 1 | -19/+12 |
| | | | | | | | | Share the Mutex between the DecoderThread and the PlayerThread. This simplifies synchronization between the two threads and fixes a freeze problem: while the PlayerThread waits for the DeocderThread, it cannot answer requests from the main thread, and the main thread will block until the DecoderThread finishes. | ||||
* | player_control: rename to PlayerControl | Max Kellermann | 2013-10-28 | 1 | -9/+9 |
| | |||||
* | decoder_control: rename to DecoderControl | Max Kellermann | 2013-10-28 | 1 | -4/+4 |
| | |||||
* | DecoderControl: add MixRamp getters | Max Kellermann | 2013-10-26 | 1 | -2/+2 |
| | |||||
* | Playlist: copy stream tags from the PlayerThread | Max Kellermann | 2013-10-22 | 1 | -2/+8 |
| | | | | | | Finally restores an important feature that has been broken for several months when the PlayerThread started working with Song copies instead of pointers to the Queue's Song instances (commit e96779d). | ||||
* | Song: pass reference to song_equals() | Max Kellermann | 2013-10-21 | 1 | -1/+1 |
| | |||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 1 | -3/+3 |
| | |||||
* | PlayerThread: Only drop 0 length packets without tags | Ben Boeckel | 2013-10-19 | 1 | -1/+1 |
| | | | | | | | | | | Fixes a regression from 752dfb3d95482c562e5d24c6ea839c4815de9a6d which caused the current chunk to be flushed as soon as new replaygain information was found. If this occurs on a tag chunk, it has no data (length 0) and is then skipped before pushing it to all of the outputs. This change allows 0-length chunks through if they contain a tag and they are now appearing in mplayer and mpv properly. | ||||
* | Thread/Thread: replacement library for GThread | Max Kellermann | 2013-10-17 | 1 | -13/+8 |
| | |||||
* | Song: GetURI() returns std::string | Max Kellermann | 2013-10-17 | 1 | -7/+6 |
| | |||||
* | Log: new logging library API | Max Kellermann | 2013-10-02 | 1 | -9/+11 |
| | | | | | Prepare to migrate away from GLib. Currently, we're still using GLib as a backend. | ||||
* | PlayerThread: convert struct player to a class | Max Kellermann | 2013-09-27 | 1 | -14/+17 |
| | |||||
* | PlayerThread: use strictly typed enum | Max Kellermann | 2013-09-27 | 1 | -14/+14 |
| | |||||
* | PlayerControl: use strictly typed enums | Max Kellermann | 2013-09-27 | 1 | -44/+44 |
| | |||||
* | PlayerThread: move code to player_control::CommandFinished() | Max Kellermann | 2013-09-27 | 1 | -21/+12 |
| | |||||
* | PlayerThread: use nullptr instead of NULL | Max Kellermann | 2013-09-27 | 1 | -37/+37 |
| | |||||
* | PlayerThread: unlock/lock in player_task() | Max Kellermann | 2013-09-26 | 1 | -8/+3 |
| | |||||
* | PlayerThread: move code into the player class | Max Kellermann | 2013-09-26 | 1 | -269/+277 |
| | |||||
* | PlayerThread: use player references | Max Kellermann | 2013-09-26 | 1 | -116/+115 |
| | |||||
* | PlayerThread: use {decoder,player}_control references | Max Kellermann | 2013-09-26 | 1 | -214/+214 |
| | |||||
* | PlayerThread: allocate decoder_control on the stack | Max Kellermann | 2013-09-26 | 1 | -5/+5 |
| | |||||
* | PlayerThread: move global MusicBuffer variable into the player object | Max Kellermann | 2013-09-26 | 1 | -24/+27 |
| | |||||
* | PlayerThread: simplify "buffer empty" assertion | Max Kellermann | 2013-09-26 | 1 | -7/+1 |
| | |||||
* | MusicBuffer: expose the C++ API | Max Kellermann | 2013-09-26 | 1 | -19/+18 |
| | |||||
* | MusicPipe: expose the C++ API | Max Kellermann | 2013-09-26 | 1 | -25/+24 |
| | |||||
* | Tag, ...: move to libtag.a | Max Kellermann | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | util/Error: new error passing library | Max Kellermann | 2013-09-04 | 1 | -21/+19 |
| | | | | Replaces GLib's GError. | ||||
* | Makefile.am: move sources to libsystem.a | Max Kellermann | 2013-08-07 | 1 | -1/+1 |
| | |||||
* | FatalError: new library to replace mpd_error.h | Max Kellermann | 2013-08-07 | 1 | -2/+2 |
| | |||||
* | *: use gcc.h macros instead of GLib | Max Kellermann | 2013-08-04 | 1 | -1/+1 |
| | |||||
* | audio_format: convert to C++ | Max Kellermann | 2013-08-03 | 1 | -14/+13 |
| | |||||
* | tag: convert to C++ | Max Kellermann | 2013-07-30 | 1 | -12/+12 |
| | |||||
* | song: convert header to C++ | Max Kellermann | 2013-07-28 | 1 | -21/+21 |
| | |||||
* | use g_thread_new() if GLib is recent enough | Max Kellermann | 2013-04-17 | 1 | -0/+4 |
| | | | | Fixes deprecation warnings. | ||||
* | Merge tag 'release-0.17.4' | Max Kellermann | 2013-04-08 | 1 | -0/+4 |
| | |||||
* | Merge branch 'v0.17.x' | Max Kellermann | 2013-02-19 | 1 | -1/+9 |
| | |||||
* | PlayerControl: add second Cond object | Max Kellermann | 2013-01-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | This fixes a deadlock bug introduced by 18076ac9. After all, the second Cond was necessary. The problem: two threads can wait for a signal at the same time. The player thread waits for the output thread to finish playback. The main thread waits for the player thread to complete a command. The output thread finishes playback, and sends a signal, which unfortunately does not wake up the player thread, but the main thread. The main thread sees that the command is still not finished, and waits again. The signal is lost forever, and MPD is deadlocked. | ||||
* | DecoderControl: move functions into the class | Max Kellermann | 2013-01-21 | 1 | -31/+31 |
| | |||||
* | PlayerControl: move functions into the class | Max Kellermann | 2013-01-20 | 1 | -61/+61 |
| | |||||
* | PlayerControl: switch to the Mutex/Cond classes | Max Kellermann | 2013-01-10 | 1 | -1/+1 |
| | |||||
* | PlayerThread: use pc.cond instead of main_cond | Max Kellermann | 2013-01-10 | 1 | -1/+1 |
| | | | | | The main_cond variable was completely unnecessary. The pc.cond object can be used for both main->pc and pc->main. | ||||
* | DecoderControl: take ownership of client_cond | Max Kellermann | 2013-01-10 | 1 | -1/+1 |
| | | | | | Don't let the "client" pass its own GCond. This was not used consistently. | ||||
* | EventPipe: rename to GlobalEvents | Max Kellermann | 2013-01-09 | 1 | -5/+5 |
| | |||||
* | event_pipe.h: convert to C++ | Max Kellermann | 2013-01-09 | 1 | -4/+1 |
| | |||||
* | idle: convert to C++ | Max Kellermann | 2013-01-09 | 1 | -1/+1 |
| | |||||
* | replay_gain_info, ...: use cmath instead of math.h in C++ mode | Max Kellermann | 2013-01-07 | 1 | -1/+3 |
| | | | | Fixes build problems with mingw32. |