aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/DecoderAPI.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-08-31DecoderAPI: use std::min()Max Kellermann1-3/+1
2014-08-31MusicChunk: remove special case for num_frames==0Max Kellermann1-3/+1
Simply return an empty WritableBuffer, not a nulled one.
2014-08-29DecoderAPI: pass SignedSongTime to decoder_initialized()Max Kellermann1-4/+2
2014-08-29MusicChunk: use SignedSongTime for the time stampMax Kellermann1-2/+2
2014-08-29DecoderControl: use SignedSongTime for the song durationMax Kellermann1-1/+3
2014-08-28DecoderControl: use std::chrono::duration for start_ms and end_msMax Kellermann1-15/+5
2014-08-28DetachedSong: use std::chrono::duration for start_ms and end_msMax Kellermann1-1/+1
2014-08-27DecoderControl: use std::chrono::duration for Seek()Max Kellermann1-3/+3
2014-08-26DecoderAPI: use std::chrono::duration for decoder_seek*()Max Kellermann1-20/+4
For type safety and code readability.
2014-08-26DecoderAPI: add decoder_seek_where_frame()Max Kellermann1-0/+18
2014-08-26DecoderAPI: add decoder_seek_where_ms()Max Kellermann1-0/+17
Move to fixed-point integers instead of floating point.
2014-08-12PcmConvert: Convert() returns ConstBufferMax Kellermann1-3/+6
2014-08-12MusicChunk: rename struct to MusicChunkMax Kellermann1-2/+2
2014-05-22DecoderAPI: add function decoder_open_uri()Max Kellermann1-0/+32
Move and refactor code from the Wavpack decoder plugin.
2014-01-24Input*: move to input/Max Kellermann1-1/+1
2014-01-24decoder/*: move to decoder/plugins/Max Kellermann1-0/+0
2014-01-13copyright year 2014Max Kellermann1-1/+1
2014-01-09DetachedSong: fork of struct SongMax Kellermann1-2/+2
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 Kellermann1-0/+18
Move code from the "mad" plugin.
2013-12-14DecoderAPI: add function decoder_skip()Max Kellermann1-0/+16
Move code from the "mad" plugin.
2013-11-28include cleanup using iwyuMax Kellermann1-1/+0
2013-11-13PcmConvert: add methods Open(), Close()Max Kellermann1-3/+7
Replaces Reset() and eliminates the AudioFormat parameters from the Convert() method.
2013-11-13DecoderAPI: stop decoder on MPD errorMax Kellermann1-0/+4
This commit adds the basic infrastructure for reporting bugs from DecoderAPI.cxx via DecoderThread.cxx to DecoderControl.
2013-11-13DecoderInternal: allocate PcmConvert dynamicallyMax Kellermann1-12/+21
Reduce header dependencies and allow it to be nullptr to disable it.
2013-11-13DecoderInternal: move functions into the classMax Kellermann1-6/+6
2013-11-11DecoderAPI: add missing math.h includeMax Kellermann1-0/+1
2013-11-08DecoderAPI: log without holding mutexMax Kellermann1-2/+2
2013-11-06DecoderInternal: wake up the player thread in _flush_chunk()Max Kellermann1-4/+0
Merge duplicate code.
2013-10-28MusicChunk: return WritableBufferMax Kellermann1-7/+8
2013-10-28decoder_control: rename to DecoderControlMax Kellermann1-10/+10
2013-10-26DecoderControl: move code/attributes to new class MixRampInfoMax Kellermann1-4/+2
2013-10-25ReplayGainInfo: refactor to a classMax Kellermann1-5/+6
2013-10-25ReplayGainInfo: use CamelCase for struct nameMax Kellermann1-2/+2
2013-10-23input_stream: rename struct to InputStreamMax Kellermann1-12/+11
2013-10-21decoder: rename the struct to "Decoder"Max Kellermann1-90/+86
2013-10-19*: use references instead of pointersMax Kellermann1-83/+82
2013-10-19*: use nullptr instead of NULLMax Kellermann1-38/+38
2013-10-02replay_gain_*.h: rename to *.hxxMax Kellermann1-1/+1
2013-10-02Log: new logging library APIMax Kellermann1-13/+10
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 Kellermann1-8/+8
2013-09-27DecoderCommand: convert to strictly-typed enumMax Kellermann1-25/+25
2013-09-26MusicBuffer: expose the C++ APIMax Kellermann1-2/+2
2013-09-26MusicPipe: expose the C++ APIMax Kellermann1-2/+2
2013-09-05InputLegacy: move functions to the input_stream classMax Kellermann1-7/+7
2013-09-04util/Error: new error passing libraryMax Kellermann1-12/+10
Replaces GLib's GError.
2013-08-04*: use gcc.h macros instead of GLibMax Kellermann1-7/+7
2013-08-03audio_format: convert to C++Max Kellermann1-15/+13
2013-07-31DecoderAPI: pass rvalue reference to decoder_tag()Max Kellermann1-4/+3
Avoid duplicating the tag.
2013-07-30tag: convert to C++Max Kellermann1-22/+19