aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-11decoder/ffmpeg: use the tag_table libraryMax Kellermann1-13/+9
2012-02-11decoder/ffmpeg: move code to ffmpeg_metadata.cMax Kellermann3-46/+106
2012-02-11decoder/ffmpeg: remove AV_VERSION_INT definitionMax Kellermann1-5/+0
All supported ffmpeg/libav versions have this.
2012-02-11decoder/flac: check for errors only after _process_single()Max Kellermann1-8/+6
The only other libFLAC call (seek) does not produce fatal errors.
2012-02-11decoder/flac: symmetric FLAC__stream_decoder_finish() callsMax Kellermann1-1/+3
Call it in the function that also invokved FLAC__stream_decoder_init_*().
2012-02-11decoder/flac: use error messages from libFLACMax Kellermann3-44/+10
2012-02-11decoder/flac: eliminate the remaining "gotos"Max Kellermann1-42/+54
https://www.xkcd.com/292/
2012-02-11decoder/{vorbis,flac}: use the tag_table libraryMax Kellermann2-21/+21
2012-02-11tag_table: convert to a structMax Kellermann1-5/+6
The struct is smaller because it is sparse. Its traversal is also more efficient.
2012-02-11decoder/vorbis: move code to vorbis_comment.cMax Kellermann3-103/+167
2012-02-03decoder/ffmpeg: use AV_SAMPLE_FMT_* if availableMax Kellermann1-0/+8
Implements support for libavcodec 0.9, which removes the compatibility macros SAMPLE_FMT_*
2012-02-03decoder/ffmpeg: use sentinel for the ffmpeg_tag_maps tableMax Kellermann1-3/+6
Minor optimisation.
2012-02-03decoder/ffmpeg: support all MPD tagsMax Kellermann1-12/+5
Use the tag_item_names table to look up the names of all MPD tags, and remove the duplicate entries from ffmpeg_tag_maps.
2012-02-03decoder/ffmpeg: pass tag_type and name to _copy_metadata()Max Kellermann1-5/+6
Allow using this function without the ffmpeg_tag_map struct.
2012-02-03decoder/ffmpeg: merge code to _copy_dictionary()Max Kellermann1-6/+11
Eliminate some duplicate code.
2012-02-03decoder/ffmpeg: add macros emulating AVDictionaryMax Kellermann1-13/+7
Move the #ifdefs out of _copy_metadata().
2012-02-03decoder/ffmpeg: _copy_metadata() returns voidMax Kellermann1-3/+1
No interest in this return value.
2012-01-24decoder/ffmpeg: remove debug codeMax Kellermann1-5/+0
2012-01-12decoder/ffmpeg: check libavutil version for AVDictionaryEntryMax Kellermann1-1/+5
Require libavutil 51.5.0.
2012-01-12decoder/ffmpeg: raise version dependency for avformat_find_stream_info()Max Kellermann1-2/+2
This function was added when the libavformat version was 53.2.0, but the actual release 53.2.0 did not have it.
2012-01-05decoder/ffmpeg: support libavformat 0.8Max Kellermann1-2/+46
2012-01-04decoder/ffmpeg: use avcodec_decode_audio4(), support libavcodec 0.8Max Kellermann1-1/+58
2012-01-04decoder/ffmpeg: include libavutil/mathematics.hMax Kellermann1-0/+1
Needed for av_rescale_q() in ffmpeg 0.8.
2012-01-04decoder/ffmpeg: use avcodec_open2() on newer ffmpeg versionsMax Kellermann1-1/+6
avcodec_open() has been deprecated.
2012-01-04decoder/ffpmeg: don't use av_metadata_conv() in ffmpeg 0.7Max Kellermann1-0/+2
It's a no-op and deprecated.
2012-01-04decoder/ffmpeg: use AVIOContext instead of ByteIOContextMax Kellermann1-0/+8
2011-12-24command: new command "seekcur"Max Kellermann1-0/+5
For simpler seeking within current song.
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.