Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PcmConvert: add methods Open(), Close() | Max Kellermann | 2013-11-13 | 1 | -1/+5 |
| | | | | | Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method. | ||||
* | DecoderInternal: allocate PcmConvert dynamically | Max Kellermann | 2013-11-13 | 1 | -0/+2 |
| | | | | Reduce header dependencies and allow it to be nullptr to disable it. | ||||
* | DecoderInternal: move functions into the class | Max Kellermann | 2013-11-13 | 1 | -21/+16 |
| | |||||
* | DecoderInternal: simplify need_chunks() | Max Kellermann | 2013-11-08 | 1 | -11/+4 |
| | | | | | Remove the "do_wait" parameter which is always true. Check only command==NONE and merge the "return" statements. | ||||
* | DecoderInternal: don't wake up player in need_chunks | Max Kellermann | 2013-11-08 | 1 | -1/+0 |
| | | | | Nothing of interest happens here. No need to wake up the player. | ||||
* | DecoderControl: reduce the number of PlayerThread wakeups | Max Kellermann | 2013-11-06 | 1 | -1/+2 |
| | | | | | Wake up the PlayerThread only if it is really waiting for the decoder. This greatly reduces the number of system calls in the DecoderThread. | ||||
* | DecoderInternal: lock DecoderControl in _flush_chunk() | Max Kellermann | 2013-11-06 | 1 | -0/+2 |
| | | | | Must hold the Mutex to signal the Cond object safely. | ||||
* | DecoderInternal: wake up the player thread in _flush_chunk() | Max Kellermann | 2013-11-06 | 1 | -0/+2 |
| | | | | Merge duplicate code. | ||||
* | decoder_control: rename to DecoderControl | Max Kellermann | 2013-10-28 | 1 | -3/+3 |
| | |||||
* | decoder: rename the struct to "Decoder" | Max Kellermann | 2013-10-21 | 1 | -24/+21 |
| | |||||
* | *: use references instead of pointers | Max Kellermann | 2013-10-19 | 1 | -14/+14 |
| | |||||
* | *: use nullptr instead of NULL | Max Kellermann | 2013-10-19 | 1 | -7/+7 |
| | |||||
* | DecoderCommand: convert to strictly-typed enum | Max Kellermann | 2013-09-27 | 1 | -6/+6 |
| | |||||
* | MusicBuffer: expose the C++ API | Max Kellermann | 2013-09-26 | 1 | -2/+2 |
| | |||||
* | MusicPipe: expose the C++ API | Max Kellermann | 2013-09-26 | 1 | -1/+1 |
| | |||||
* | Tag, ...: move to libtag.a | Max Kellermann | 2013-09-05 | 1 | -1/+1 |
| | |||||
* | tag: convert to C++ | Max Kellermann | 2013-07-30 | 1 | -9/+4 |
| | |||||
* | pcm_convert: convert to C++ | Max Kellermann | 2013-01-31 | 1 | -2/+0 |
| | |||||
* | DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond | Max Kellermann | 2013-01-27 | 1 | -1/+1 |
| | |||||
* | input_stream: forward-declare the struct | Max Kellermann | 2013-01-26 | 1 | -1/+0 |
| | | | | Hide the definition from C code, to prepare the transition to C++. | ||||
* | DecoderControl: move functions into the class | Max Kellermann | 2013-01-21 | 1 | -3/+3 |
| | |||||
* | decoder_api.h, ...: add "extern C" | Max Kellermann | 2013-01-07 | 1 | -4/+0 |
| | |||||
* | DecoderThread: move code to destructor | Max Kellermann | 2013-01-04 | 1 | -0/+21 |
| | |||||
* | MusicChunk: move functions to methods | Max Kellermann | 2013-01-04 | 1 | -1/+1 |
| | |||||
* | buffer, pipe: convert to C++ | Max Kellermann | 2013-01-04 | 1 | -6/+3 |
| | |||||
* | decoder_*: convert to C++ | Max Kellermann | 2013-01-04 | 1 | -0/+100 |