Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Redoing remiss's shout patch. This time, just block on open() instead of | J. Alexander Treuman | 2007-06-12 | 1 | -3/+0 |
| | | | | | | | | | | | | | pretending to play while we wait for the connection to timeout. This removes the need for timers, and thus removes the now unnecessary timer_get_runtime_* function(s) from the timer code. The changes made compared to the pre-patch shout plugin are: * Block while connecting, timing out after 2 seconds. * Close the device, and not just the connection, if play returns -1. * Remove sd->last_err (it's always assigned before use). * Some minor cleanups. git-svn-id: https://svn.musicpd.org/mpd/trunk@6555 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | switching to us instead of ms on runtime | Roger Bystrøm | 2007-06-09 | 1 | -1/+1 |
| | | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6522 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | Added timer_get_runtime_ms to know how long the timer has been running | Roger Bystrøm | 2007-06-09 | 1 | -0/+3 |
| | | | git-svn-id: https://svn.musicpd.org/mpd/trunk@6521 09075e82-0dd4-0310-85a5-a0d7c8717e4f | ||||
* | Move the timing code from the null plugin to timer.c, so it can be easily | J. Alexander Treuman | 2007-05-30 | 1 | -0/+43 |
used in other plugins (fifo, shout, etc.). git-svn-id: https://svn.musicpd.org/mpd/trunk@6397 09075e82-0dd4-0310-85a5-a0d7c8717e4f |