aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderAPI.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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