Commit Graph

16 Commits

Author SHA1 Message Date
cbd38327e7 DecoderAPI: pass rvalue reference to decoder_tag()
Avoid duplicating the tag.
2013-07-31 00:34:22 +02:00
06f898cc12 tag: convert to C++ 2013-07-30 20:19:53 +02:00
ba161ec572 song: convert header to C++ 2013-07-28 13:25:12 +02:00
43f613d9be decoder_api: convert to C++ 2013-07-28 13:18:48 +02:00
361404fd59 pcm_convert: convert to C++ 2013-01-31 00:26:55 +01:00
d664baff26 audio_{parser,config}: convert to C++ 2013-01-30 21:47:12 +01:00
cffc78ad6a InputStream: store references instead of pointers 2013-01-28 23:35:01 +01:00
6f3d70b5e2 DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond 2013-01-27 18:39:32 +01:00
0273cd44b0 input_stream: forward-declare the struct
Hide the definition from C code, to prepare the transition to C++.
2013-01-26 01:24:01 +01:00
32799fef5c DecoderControl: move functions into the class 2013-01-21 10:13:29 +01:00
975370c084 decoder_api.h, ...: add "extern C" 2013-01-07 10:07:40 +01:00
7be33eba48 DecoderAPI: don't use replay_gain_get_real_mode()
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.
2013-01-05 02:40:32 +01:00
46ed91b53d DecoderAPI: _replay_gain() returns void
Let the function decoder_replay_gain() update
decoder_control::replay_gain_db instead of letting each decoder plugin
take care for that.
2013-01-05 02:40:29 +01:00
e9b71a0d28 MusicChunk: move functions to methods 2013-01-04 21:38:46 +01:00
22f0a1547c buffer, pipe: convert to C++ 2013-01-04 10:16:16 +01:00
e12cc01aa4 decoder_*: convert to C++ 2013-01-04 09:41:45 +01:00