Max Kellermann
|
8a3192ffc1
|
decoder/wavpack: bigger tag value buffer
Prepare for big CUESHEET tags.
|
2012-02-12 16:10:20 +01:00 |
|
Max Kellermann
|
ffea273a28
|
tag_handler: handle arbitrary name/value pairs
The new method pair() receives an arbitrary name/value pair. Support
for this is being added to a few decoder plugins.
|
2012-02-12 13:41:48 +01:00 |
|
Max Kellermann
|
1783aac438
|
decoder/wavpack: move code to wavpack_scan_tag_item()
Remove clutter from wavpack_scan_file(), and use a (large) fixed
buffer for the tag item.
|
2012-02-11 19:36:59 +01:00 |
|
Max Kellermann
|
29bf3d2c04
|
decoder/wavpack: use the tag_table library
|
2012-02-11 19:34:10 +01:00 |
|
Max Kellermann
|
ee16fc958c
|
decoder/{mikmod,fluidsynth,mp4ff}: adapt to tag_handler API
Fixes build regression.
|
2012-02-11 19:28:56 +01:00 |
|
Max Kellermann
|
5d73215a8d
|
decoder_plugin: scan tags with callback table
Pass a callback table to scan_file() and scan_stream(), instead of
returning a tag object.
|
2012-02-11 17:04:29 +01:00 |
|
Max Kellermann
|
b7356bc526
|
decoder/gme: convert runtime check to assertion
When gme_track_info() returns with success, then the gme_info_t
pointer must be set.
|
2012-02-11 16:59:24 +01:00 |
|
Max Kellermann
|
8ec8282f38
|
decoder/ffmpeg: use the tag_table library
|
2012-02-11 16:39:03 +01:00 |
|
Max Kellermann
|
43b7b98949
|
decoder/ffmpeg: move code to ffmpeg_metadata.c
|
2012-02-11 16:37:29 +01:00 |
|
Max Kellermann
|
f791065a98
|
decoder/ffmpeg: remove AV_VERSION_INT definition
All supported ffmpeg/libav versions have this.
|
2012-02-11 16:37:25 +01:00 |
|
Max Kellermann
|
d95db28695
|
decoder/flac: check for errors only after _process_single()
The only other libFLAC call (seek) does not produce fatal errors.
|
2012-02-11 12:57:18 +01:00 |
|
Max Kellermann
|
851fb16e7c
|
decoder/flac: symmetric FLAC__stream_decoder_finish() calls
Call it in the function that also invokved
FLAC__stream_decoder_init_*().
|
2012-02-11 12:56:52 +01:00 |
|
Max Kellermann
|
a4cbaafd10
|
decoder/flac: use error messages from libFLAC
|
2012-02-11 12:37:24 +01:00 |
|
Max Kellermann
|
c5f2cdb822
|
decoder/flac: eliminate the remaining "gotos"
https://www.xkcd.com/292/
|
2012-02-11 12:37:24 +01:00 |
|
Max Kellermann
|
1892d29be0
|
decoder/{vorbis,flac}: use the tag_table library
|
2012-02-11 12:37:24 +01:00 |
|
Max Kellermann
|
767ade02f4
|
tag_table: convert to a struct
The struct is smaller because it is sparse. Its traversal is also
more efficient.
|
2012-02-11 12:37:24 +01:00 |
|
Max Kellermann
|
c8a990b9d3
|
decoder/vorbis: move code to vorbis_comment.c
|
2012-02-11 10:04:02 +01:00 |
|
Max Kellermann
|
c46239af22
|
Merge branch 'v0.16.x'
Conflicts:
src/decoder/ffmpeg_decoder_plugin.c
test/read_tags.c
test/run_decoder.c
|
2012-02-04 17:23:53 +01:00 |
|
Max Kellermann
|
5d9876e338
|
decoder/ffmpeg: use AV_SAMPLE_FMT_* if available
Implements support for libavcodec 0.9, which removes the compatibility
macros SAMPLE_FMT_*
|
2012-02-03 09:55:25 +01:00 |
|
Max Kellermann
|
083340a937
|
decoder/ffmpeg: use sentinel for the ffmpeg_tag_maps table
Minor optimisation.
|
2012-02-03 09:18:05 +01:00 |
|
Max Kellermann
|
378fa5ee6a
|
decoder/ffmpeg: support all MPD tags
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-03 09:10:48 +01:00 |
|
Max Kellermann
|
4764daf3c2
|
decoder/ffmpeg: pass tag_type and name to _copy_metadata()
Allow using this function without the ffmpeg_tag_map struct.
|
2012-02-03 09:09:18 +01:00 |
|
Max Kellermann
|
6357496d17
|
decoder/ffmpeg: merge code to _copy_dictionary()
Eliminate some duplicate code.
|
2012-02-03 09:09:18 +01:00 |
|
Max Kellermann
|
001e2a604b
|
decoder/ffmpeg: add macros emulating AVDictionary
Move the #ifdefs out of _copy_metadata().
|
2012-02-03 09:02:14 +01:00 |
|
Max Kellermann
|
f370911c15
|
decoder/ffmpeg: _copy_metadata() returns void
No interest in this return value.
|
2012-02-03 08:59:26 +01:00 |
|
Max Kellermann
|
c2fe961db1
|
decoder/ffmpeg: remove debug code
|
2012-01-24 17:15:29 +01:00 |
|
Max Kellermann
|
ec43721c3c
|
Merge branch 'v0.16.x'
Conflicts:
src/decoder/ffmpeg_decoder_plugin.c
|
2012-01-12 18:59:21 +01:00 |
|
Max Kellermann
|
39d52762d1
|
decoder/ffmpeg: check libavutil version for AVDictionaryEntry
Require libavutil 51.5.0.
|
2012-01-12 18:45:18 +01:00 |
|
Max Kellermann
|
8d45d0d104
|
decoder/ffmpeg: raise version dependency for avformat_find_stream_info()
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-12 18:28:19 +01:00 |
|
Max Kellermann
|
9937ff8ac0
|
Merge branch 'v0.16.x'
Conflicts:
src/decoder/ffmpeg_decoder_plugin.c
src/input/ffmpeg_input_plugin.c
|
2012-01-05 00:33:23 +01:00 |
|
Max Kellermann
|
abd1949825
|
decoder/ffmpeg: support libavformat 0.8
|
2012-01-05 00:17:56 +01:00 |
|
Max Kellermann
|
4e6bc77a70
|
decoder/ffmpeg: use avcodec_decode_audio4(), support libavcodec 0.8
|
2012-01-04 22:10:38 +01:00 |
|
Max Kellermann
|
531948358b
|
decoder/ffmpeg: include libavutil/mathematics.h
Needed for av_rescale_q() in ffmpeg 0.8.
|
2012-01-04 21:54:54 +01:00 |
|
Max Kellermann
|
21caca4aea
|
decoder/ffmpeg: use avcodec_open2() on newer ffmpeg versions
avcodec_open() has been deprecated.
|
2012-01-04 21:48:30 +01:00 |
|
Max Kellermann
|
fbf3edf07d
|
decoder/ffpmeg: don't use av_metadata_conv() in ffmpeg 0.7
It's a no-op and deprecated.
|
2012-01-04 21:47:56 +01:00 |
|
Max Kellermann
|
76fcf25898
|
decoder/ffmpeg: use AVIOContext instead of ByteIOContext
|
2012-01-04 21:47:47 +01:00 |
|
Max Kellermann
|
99949c8f6f
|
command: new command "seekcur"
For simpler seeking within current song.
|
2011-12-24 11:20:02 +01:00 |
|
Max Kellermann
|
aa4f45b9a5
|
Merge branch 'v0.16.x'
Conflicts:
NEWS
configure.ac
|
2011-12-13 21:57:44 +01:00 |
|
Max Kellermann
|
533e4fcdad
|
decoder/mp4ff: work around assertion failure in read() callback
This workaround leads to an infinite loop instead of an assertion
failure, but hey, now it's libmp4ff's fault.
|
2011-12-13 20:08:31 +01:00 |
|
Max Kellermann
|
4f093d5b97
|
Merge branch 'v0.16.x'
Conflicts:
Makefile.am
NEWS
configure.ac
src/encoder/flac_encoder.c
src/log.c
src/pcm_buffer.c
|
2011-11-28 11:56:01 +01:00 |
|
Max Kellermann
|
e1b032cbad
|
decoder/ffmpeg: work around bogus channel count
Initialize the audio_format before calling avcodec_open(), because
avcodec_open() will fill bogus values.
|
2011-11-28 11:39:21 +01:00 |
|
Max Kellermann
|
1e89ca0994
|
decoder/dsdiff: provide floating point samples
Eliminate the conversion to integer samples, the MPD core can do this
now.
|
2011-10-20 03:01:31 +02:00 |
|
Max Kellermann
|
92bb10eed8
|
decoder/wavpack: read float samples as-is, don't convert to integer
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-20 02:55:05 +02:00 |
|
Max Kellermann
|
545685bc32
|
audio_format: basic support for floating point samples
Support for conversion from float to 16, 24 and 32 bit integer
samples.
|
2011-10-20 02:32:39 +02:00 |
|
Max Kellermann
|
4c9782ee28
|
decoder/pcm: support reverse byte order
|
2011-10-10 10:13:43 +02:00 |
|
Max Kellermann
|
f3ea834322
|
decoder/{pcm,dsdiff}: add missing stdio.h include
|
2011-10-09 17:40:37 +02:00 |
|
Max Kellermann
|
b9e99575ce
|
Merge commit 'release-0.16.5'
Conflicts:
NEWS
configure.ac
|
2011-10-09 16:32:36 +02:00 |
|
Max Kellermann
|
71536eb412
|
decoder/wavpack: don't call WavpackGetMode() twice
Use local variable "is_float".
|
2011-10-08 15:37:47 +02:00 |
|
Max Kellermann
|
894b9cfdb9
|
decoder/dsdiff: add option "lsbitfirst"
Defaults to "no", which fixes the noise problems.
|
2011-10-07 10:10:43 +02:00 |
|
Max Kellermann
|
7ecbb0454f
|
decoder/dsdiff: add documentation
|
2011-10-07 06:38:23 +02:00 |
|