summaryrefslogtreecommitdiff
path: root/src/DecoderAPI.cxx
AgeCommit message (Collapse)Author
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann
2014-01-13copyright year 2014Max Kellermann
2014-01-09DetachedSong: fork of struct SongMax Kellermann
From now on, struct Song will be used by the database only, and DetachedSong will be used by everybody else. DetachedSong is easier to use, but Song has lower overhead.
2013-12-14DecoderAPI: add function decoder_read_full()Max Kellermann
Move code from the "mad" plugin.
2013-12-14DecoderAPI: add function decoder_skip()Max Kellermann
Move code from the "mad" plugin.
2013-11-28include cleanup using iwyuMax Kellermann
2013-11-13PcmConvert: add methods Open(), Close()Max Kellermann
Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method.
2013-11-13DecoderAPI: stop decoder on MPD errorMax Kellermann
This commit adds the basic infrastructure for reporting bugs from DecoderAPI.cxx via DecoderThread.cxx to DecoderControl.
2013-11-13DecoderInternal: allocate PcmConvert dynamicallyMax Kellermann
Reduce header dependencies and allow it to be nullptr to disable it.
2013-11-13DecoderInternal: move functions into the classMax Kellermann
2013-11-11DecoderAPI: add missing math.h includeMax Kellermann
2013-11-08DecoderAPI: log without holding mutexMax Kellermann
2013-11-06DecoderInternal: wake up the player thread in _flush_chunk()Max Kellermann
Merge duplicate code.
2013-10-28MusicChunk: return WritableBufferMax Kellermann
2013-10-28decoder_control: rename to DecoderControlMax Kellermann
2013-10-26DecoderControl: move code/attributes to new class MixRampInfoMax Kellermann
2013-10-25ReplayGainInfo: refactor to a classMax Kellermann
2013-10-25ReplayGainInfo: use CamelCase for struct nameMax Kellermann
2013-10-23input_stream: rename struct to InputStreamMax Kellermann
2013-10-21decoder: rename the struct to "Decoder"Max Kellermann
2013-10-19*: use references instead of pointersMax Kellermann
2013-10-19*: use nullptr instead of NULLMax Kellermann
2013-10-02replay_gain_*.h: rename to *.hxxMax Kellermann
2013-10-02Log: new logging library APIMax Kellermann
Prepare to migrate away from GLib. Currently, we're still using GLib as a backend.
2013-09-27DecoderControl: convert "enum decoder_state" to strictly-typed enumMax Kellermann
2013-09-27DecoderCommand: convert to strictly-typed enumMax Kellermann
2013-09-26MusicBuffer: expose the C++ APIMax Kellermann
2013-09-26MusicPipe: expose the C++ APIMax Kellermann
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann
2013-09-04util/Error: new error passing libraryMax Kellermann
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann
2013-08-03audio_format: convert to C++Max Kellermann
2013-07-31DecoderAPI: pass rvalue reference to decoder_tag()Max Kellermann
Avoid duplicating the tag.
2013-07-30tag: convert to C++Max Kellermann
2013-07-28song: convert header to C++Max Kellermann
2013-07-28decoder_api: convert to C++Max Kellermann
2013-01-31pcm_convert: convert to C++Max Kellermann
2013-01-30audio_{parser,config}: convert to C++Max Kellermann
2013-01-28InputStream: store references instead of pointersMax Kellermann
2013-01-27DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCondMax Kellermann
2013-01-26input_stream: forward-declare the structMax Kellermann
Hide the definition from C code, to prepare the transition to C++.
2013-01-21DecoderControl: move functions into the classMax Kellermann
2013-01-07decoder_api.h, ...: add "extern C"Max Kellermann
2013-01-05DecoderAPI: don't use replay_gain_get_real_mode()Max Kellermann
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-05DecoderAPI: _replay_gain() returns voidMax Kellermann
Let the function decoder_replay_gain() update decoder_control::replay_gain_db instead of letting each decoder plugin take care for that.
2013-01-04MusicChunk: move functions to methodsMax Kellermann
2013-01-04buffer, pipe: convert to C++Max Kellermann
2013-01-04decoder_*: convert to C++Max Kellermann