aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-11decoder/faad: check sample_rate, not frames_per_secondMax Kellermann1-2/+4
Checking the integer is faster, easier and more reliable.
2014-07-11decoder/faad: make variables more localMax Kellermann1-71/+49
2014-07-11decoder/faad: use MAX_CHANNELSMax Kellermann1-4/+2
.. instead of declaring a new constant.
2014-07-11decoder/sndfile: use decoder_read_full()Max Kellermann1-16/+6
Replaces the loop in sndfile_vio_read(), eliminating duplicate and fragile code.
2014-07-11decoder/sndfile: use decoder_read()Max Kellermann1-16/+22
.. instead of InputStream::LockRead(). The former is cancellable.
2014-07-11decoder/sndfile: log seek errorsMax Kellermann1-1/+4
2014-07-11decoder/audiofile: log seek errorsMax Kellermann1-0/+1
2014-07-11decoder/audiofile: fix typo in commentMax Kellermann1-1/+1
2014-07-09decoder/dsd: use decoder_read_full() where appropriateJoff4-31/+19
Addresses Mantis ticket 0004015. [mk: use decoder_read_full() only when needed, and a few formal changes]
2014-07-09decoder/audiofile: use decoder_read_full()Max Kellermann1-1/+6
Works around WAV stream playback bug, because libaudiofile does not like partial reads (Mantis 0004028).
2014-07-09DecoderAPI: add function decoder_read_full()Max Kellermann1-12/+2
Move code from the "mad" plugin.
2014-07-09DecoderAPI: add function decoder_skip()Max Kellermann1-14/+1
Move code from the "mad" plugin.
2014-07-09decoder/audiofile: use decoder_read()Max Kellermann1-15/+24
.. instead of InputStream::LockRead(). The former is cancellable.
2014-07-09decoder/OpusDecoderPlugin: fix build failure due to missing stdio.h includeGustavo Zacarias1-0/+1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2014-07-09decoder/AudiofileDecoderPlugin: fix build failure due to missing stdio.h includeGustavo Zacarias1-0/+1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
2014-04-29decoder/OggUtil: allow skipping up to 32 kB after seekMax Kellermann1-1/+1
Fixes missing song length on high-latency Opus files. According to tests with 320 kbit/s opus files with 60ms packets, we need to skip up to 29 kB.
2014-04-09decoder/sndfile: work around libsndfile bug on partial readMarcello Desantis1-6/+20
2014-03-18decoder/ffmpeg: handle unknown stream start timeMax Kellermann1-2/+25
2014-03-18decoder/ffmpeg: pass AVSEEK_FLAG_ANY to av_seek_frame()Max Kellermann1-1/+1
This corrects a major mistake from commit 724a59aa - there was one small thing that commit was supposed to do, and it failed. AV_TIME_BASE is not a seek flag.
2014-03-06decoder/gme: fix memory leak in container_scan()Max Kellermann1-0/+1
2014-01-15decoder/ffmpeg: support libav v10_alpha1Max Kellermann1-1/+11
2014-01-15decoder/ffmpeg: include cleanupMax Kellermann2-4/+1
2014-01-15decoder/ffmpeg: check for av_samples_get_buffer_size() errorsMax Kellermann1-0/+3
Fixes potential nullptr dereference.
2014-01-08decoder/faad: fix memory leakMax Kellermann1-0/+2
2013-12-20fix FfmpegDecoderPlugin to use relative timestampsSteven O'Brien1-4/+6
2013-11-28decoder/ffmpeg: use IgnoreError instead of local Error instanceMax Kellermann1-5/+2
2013-11-23decoder/{dsf,dsdiff}: eliminate useless assignmentsMax Kellermann2-5/+4
2013-11-18decoder/OggFind.cxx: include stdio.h for SEEK_END definitionDenis Krjuchkov1-0/+2
2013-11-10decoder/dsdiff: fix byte order bugJurgen Kramer2-2/+13
2013-11-05decoder/dsf: enable DSD128Jurgen Kramer1-2/+2
2013-11-04Log: add level "DEFAULT"Max Kellermann2-9/+9
Map LogLevel::INFO to G_LOG_LEVEL_INFO, and LogLevel::DEFAULT to G_LOG_LEVEL_MESSAGE. Now client connect/disconnect message are only logged on log_level "secure".
2013-10-30*: update copyright year to 2013Max Kellermann26-26/+26
2013-10-28*: use nullptr instead of NULLMax Kellermann5-23/+23
2013-10-28decoder/dsf: don't play junk at the end of the "data" chunkMax Kellermann1-1/+9
2013-10-28decoder/dsf: add range checkMax Kellermann1-0/+3
2013-10-28decoder/dsdlib: add class DsdUint64Max Kellermann3-25/+26
Merge lots of duplicate code.
2013-10-28decoder/dsdlib: include cleanupMax Kellermann1-1/+1
2013-10-28decoder/dsdlib: move API documentation to headerMax Kellermann2-5/+4
2013-10-28decoder/dsdlib: convert struct dsdlib_id to a classMax Kellermann4-34/+35
2013-10-26DecoderControl: move code/attributes to new class MixRampInfoMax Kellermann4-43/+27
2013-10-25ReplayGainInfo: refactor to a classMax Kellermann6-12/+10
2013-10-25ReplayGainInfo: use CamelCase for struct nameMax Kellermann12-65/+57
2013-10-24decoder/opus: support replay gainMax Kellermann3-1/+24
Parse the R128_TRACK_GAIN comment string.
2013-10-24decoder/Opus: implement seekingMax Kellermann3-6/+49
2013-10-24decoder/opus: provide time stampsMax Kellermann1-0/+5
Call decoder_timestamp(). This is not necessary currently, but will be as soon as we implement seeking.
2013-10-24decoder/opus: show song duration during playbackMax Kellermann1-1/+57
This requires seeking to the end-of-stream, checking its granulepos, and then seeking back to the previous file position. We do this only for local files.
2013-10-24decoder/opus: call ogg_stream_reset() in OggSeekPageAtOffset()Max Kellermann1-0/+4
2013-10-24decoder/opus: move code to OggSeekPageAtOffset()Max Kellermann1-4/+11
2013-10-24decoder/opus: move SeekFindEOS() to OggFind.cxxMax Kellermann3-19/+31
2013-10-24decoder/opus: make opus_sample_rate constexprMax Kellermann1-1/+1