aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderAPI.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* InputStream: store references instead of pointersMax Kellermann2013-01-281-1/+1
|
* DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann2013-01-271-7/+7
|
* input_stream: forward-declare the structMax Kellermann2013-01-261-0/+1
| | | | Hide the definition from C code, to prepare the transition to C++.
* DecoderControl: move functions into the classMax Kellermann2013-01-211-9/+9
|
* decoder_api.h, ...: add "extern C"Max Kellermann2013-01-071-2/+2
|
* DecoderAPI: don't use replay_gain_get_real_mode()Max Kellermann2013-01-051-1/+5
| | | | | | | | replay_gain_get_real_mode() accesses dangerous globals. Let's just use the global variable replay_gain_mode, and assume "AUTO" means "TRACK". At this point, this is the best we can do, because neither the decoder nor the player should know about the current replay gain mode. This is applied as a filter in the output thread.
* DecoderAPI: _replay_gain() returns voidMax Kellermann2013-01-051-7/+3
| | | | | | Let the function decoder_replay_gain() update decoder_control::replay_gain_db instead of letting each decoder plugin take care for that.
* MusicChunk: move functions to methodsMax Kellermann2013-01-041-5/+5
|
* buffer, pipe: convert to C++Max Kellermann2013-01-041-3/+3
|
* decoder_*: convert to C++Max Kellermann2013-01-041-0/+569