aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-13decoder/mp4ff: work around assertion failure in read() callbackMax Kellermann1-0/+6
This workaround leads to an infinite loop instead of an assertion failure, but hey, now it's libmp4ff's fault.
2011-11-28decoder/ffmpeg: work around bogus channel countMax Kellermann1-8/+12
Initialize the audio_format before calling avcodec_open(), because avcodec_open() will fill bogus values.
2011-10-20decoder/dsdiff: provide floating point samplesMax Kellermann1-30/+3
Eliminate the conversion to integer samples, the MPD core can do this now.
2011-10-20decoder/wavpack: read float samples as-is, don't convert to integerMax Kellermann1-5/+4
For MPD's new floating point support: when a decoded wavpack file needs to be resampled, don't convert float to int and back to float.
2011-10-20audio_format: basic support for floating point samplesMax Kellermann1-0/+1
Support for conversion from float to 16, 24 and 32 bit integer samples.
2011-10-10decoder/pcm: support reverse byte orderMax Kellermann1-3/+21
2011-10-09decoder/{pcm,dsdiff}: add missing stdio.h includeMax Kellermann2-0/+2
2011-10-08decoder/wavpack: don't call WavpackGetMode() twiceMax Kellermann1-1/+1
Use local variable "is_float".
2011-10-07decoder/dsdiff: add option "lsbitfirst"Max Kellermann1-1/+11
Defaults to "no", which fixes the noise problems.
2011-10-07decoder/dsdiff: add documentationMax Kellermann1-0/+7
2011-10-04decoder/dsdiff: new decoder pluginMax Kellermann2-0/+510
Doesn't seem to work yet, getting just noise from a test file. Seeking isn't implemented yet.
2011-09-17decoder/audiofile: include stdio header for SEEK_* definesTim Harder1-0/+1
The stdio header is no longer pulled in by af_vfs.h in audiofile-0.3.0.
2011-09-16input_stream: non-blocking I/OMax Kellermann12-24/+32
Add GMutex, GCond attributes which will be used by callers to conditionally wait on the stream. Remove the (now-useless) plugin method buffer(), wait on GCond instead. Lock the input_stream before each method call. Do the same with the playlist plugins.
2011-09-15decoder/ffmpeg: flush the codec after seekingMax Kellermann1-1/+3
Let the codec start with fresh buffers. This should fix the remaining seeking issues.
2011-09-15decoder/ffmpeg: explicitly specify the current stream for seekingMax Kellermann1-2/+11
Use AVStream.time_base to convert the decoder_seek_where() value, and pass the current stream number to av_seek_frame().
2011-09-15decoder/ffmpeg: don't require key frame for seekingMax Kellermann1-1/+2
Use flag AV_TIME_BASE.
2011-09-15decoder/ffmpeg: higher precision timestampsMax Kellermann1-1/+2
2011-09-15decoder/ffmpeg: move formula to time_from_ffmpeg()Max Kellermann1-2/+10
2011-09-15decoder/ffmpeg: add local variable "av_stream"Max Kellermann1-3/+4
Code simplification.
2011-09-01decoder/oggflac: delete this obsolete pluginMax Kellermann1-354/+0
libOggFLAC has been deprecated for 5 years now, and we havn't been testing it for a long time. Let's delete it.
2011-08-27rename 'Timer' to 'struct timer'Jonathan Neuschäfer1-1/+1
2011-08-23decoder/mpcdec: fix gcc warningMax Kellermann1-2/+2
Move the variable "vbr_update_acc" into the #ifdef block.
2011-07-20wavpack: obey all decoder commands, stop at CUE track borderMax Kellermann1-9/+6
It used to ignore the decoder_data() return value.
2011-07-20decoder/wavpack: use the correct integer typesMax Kellermann1-10/+5
libwavpack provides int32_t samples, and wants uin32_t for sample counts.
2011-07-20decoder/wavpack: simplify the WavpackUnpackSamples()==0 checkMax Kellermann1-17/+14
.. and remove one indent level.
2011-07-18decoder/ffmpeg: use avformat_open_input() if availableMax Kellermann1-4/+35
av_open_input_stream() has been deprecated.
2011-07-18decoder: use AVDictionary instead of AVMetadataMax Kellermann1-1/+14
AVMetadata has been deprecated.
2011-07-03decoder/flac: validate the sample rate when scanning the tagMax Kellermann2-1/+5
Don't calculate the song duration when the sample rate is 0 (division by zero crash).
2011-07-03ffmpeg: workaround for semantic API change in recent ffmpeg versionsoblique1-2/+2
2011-05-09decoder/ffpmeg: don't use av_metadata_conv() in ffmpeg 0.7Max Kellermann1-0/+2
It's a no-op and deprecated.
2011-05-09decoder/ffmpeg: use AVIOContext instead of ByteIOContextMax Kellermann1-0/+12
2011-05-09decoder/ffmpeg: use avcodec_decode_audio3() if availableMax Kellermann1-1/+22
avcodec_decode_audio3() has been added in libavformat 52.25.0, and the predecessor avcodec_decode_audio2() has been deprecated.
2011-05-09decoder/ffmpeg: make variables more localMax Kellermann1-27/+16
2011-05-09decoder/ffmpeg: don't use deprecated CODEC_TYPE_AUDIO with new lavcAnton Khirnov1-0/+4
fixes build with lavc 53.
2011-05-09decoder/ffmpeg: define fallback macro AV_VERSION_INT()Max Kellermann1-1/+5
For ffmpeg < 0.5. Copied from libavutil 0.5.
2011-04-12decoder/ffmpeg: use avcodec_decode_audio3() if availableMax Kellermann1-1/+22
avcodec_decode_audio3() has been added in libavformat 52.25.0, and the predecessor avcodec_decode_audio2() has been deprecated.
2011-04-12decoder/ffmpeg: make variables more localMax Kellermann1-27/+16
2011-04-12decoder/ffmpeg: drop support for pre-0.5 ffmpegAnton Khirnov1-46/+0
All modern distros ship 0.5, so there's no need to support old and buggy ffmpeg versions.
2011-03-23decoder/flac: fix enum mismatch in flac_tell_cb()Max Kellermann1-1/+1
Fix clang warning.
2011-03-23decoder: PCM decoder: Inherit seekable from the input streamSimon Kagstrom1-1/+1
E.g., spotify isn't seekable.
2011-03-23decoder: PCM decoder: Break loop if EOF is encounteredSimon Kagstrom1-0/+4
Otherwise the song playing might go on forever.
2011-02-09general: whitespace cleanupThomas Jansen1-1/+1
Remove trailing whitespace found by this command: find -name '*.[ch]' | xargs grep "[[:space:]]$"
2011-02-03Set fadeout in gme_decoder_plugin. Due to the nature of the gme library,Tony Miller1-0/+3
this needs to be done for the end of songs to be detected.
2011-01-29copyright year 2011Max Kellermann28-28/+28
2011-01-21mpg123 decoder: implement seekingYuriy Kaminskiy1-2/+14
2011-01-21mpg123 decoder: report bitrateYuriy Kaminskiy1-1/+25
2010-12-22decoder: new "pcm" decoder pluginMax Kellermann2-0/+117
Just there to support the "cdio_paranoia" input plugin.
2010-12-21decoder/mad: work around build failure on SolarisAlex Viskovatoff1-2/+2
Rename the "version" struct, because it seems to be a reserved name on Solaris: "src/decoder/mad_decoder_plugin.c", line 550: (enum) tag redeclared: version cc: acomp failed for src/decoder/mad_decoder_plugin.c
2010-11-05decoder/{mp4ff,ffmpeg}: add extension ".m4b" (audio book)Max Kellermann2-2/+10
Same as ".m4a".
2010-11-04decoder/ffmpeg: check AVCodecContext.sample_fmt valueMax Kellermann1-7/+9
.. instead of av_get_bits_per_sample_format(). The SampleFormat enum value is authoritative.