aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderInternal.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* PcmConvert: add methods Open(), Close()Max Kellermann2013-11-131-1/+5
| | | | | Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method.
* DecoderInternal: allocate PcmConvert dynamicallyMax Kellermann2013-11-131-0/+2
| | | | Reduce header dependencies and allow it to be nullptr to disable it.
* DecoderInternal: move functions into the classMax Kellermann2013-11-131-21/+16
|
* DecoderInternal: simplify need_chunks()Max Kellermann2013-11-081-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_chunksMax Kellermann2013-11-081-1/+0
| | | | Nothing of interest happens here. No need to wake up the player.
* DecoderControl: reduce the number of PlayerThread wakeupsMax Kellermann2013-11-061-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 Kellermann2013-11-061-0/+2
| | | | Must hold the Mutex to signal the Cond object safely.
* DecoderInternal: wake up the player thread in _flush_chunk()Max Kellermann2013-11-061-0/+2
| | | | Merge duplicate code.
* decoder_control: rename to DecoderControlMax Kellermann2013-10-281-3/+3
|
* decoder: rename the struct to "Decoder"Max Kellermann2013-10-211-24/+21
|
* *: use references instead of pointersMax Kellermann2013-10-191-14/+14
|
* *: use nullptr instead of NULLMax Kellermann2013-10-191-7/+7
|
* DecoderCommand: convert to strictly-typed enumMax Kellermann2013-09-271-6/+6
|
* MusicBuffer: expose the C++ APIMax Kellermann2013-09-261-2/+2
|
* MusicPipe: expose the C++ APIMax Kellermann2013-09-261-1/+1
|
* Tag, ...: move to libtag.aMax Kellermann2013-09-051-1/+1
|
* tag: convert to C++Max Kellermann2013-07-301-9/+4
|
* pcm_convert: convert to C++Max Kellermann2013-01-311-2/+0
|
* DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann2013-01-271-1/+1
|
* input_stream: forward-declare the structMax Kellermann2013-01-261-1/+0
| | | | Hide the definition from C code, to prepare the transition to C++.
* DecoderControl: move functions into the classMax Kellermann2013-01-211-3/+3
|
* decoder_api.h, ...: add "extern C"Max Kellermann2013-01-071-4/+0
|
* DecoderThread: move code to destructorMax Kellermann2013-01-041-0/+21
|
* MusicChunk: move functions to methodsMax Kellermann2013-01-041-1/+1
|
* buffer, pipe: convert to C++Max Kellermann2013-01-041-6/+3
|
* decoder_*: convert to C++Max Kellermann2013-01-041-0/+100