Max Kellermann
|
25e58df5e0
|
ReplayGainInfo: don't use array in struct ReplayGainInfo
Declare two named elements. An enum should not be used as an array
index, as this is error prone.
|
2016-11-24 17:34:57 +01:00 |
|
Max Kellermann
|
a88040e4d5
|
decoder/Client: add Submit methods
Replaces decoder_data() and others.
|
2016-11-18 09:05:04 +01:00 |
|
Max Kellermann
|
47a0f46ce8
|
decoder/Client: add DecoderCommand/seek virtual methods
|
2016-11-18 09:03:42 +01:00 |
|
Max Kellermann
|
66fb352cca
|
decoder/Client: add virtual method Ready()
Replaces decoder_initialized().
|
2016-11-18 09:03:41 +01:00 |
|
Max Kellermann
|
fd77acc217
|
decoder/Client: new interface which wraps struct Decoder
Prepare for a Decoder API redesign based on an abstract class with
virtual methods.
|
2016-11-18 09:03:39 +01:00 |
|
Max Kellermann
|
cfd51db229
|
CheckAudioFormat: migrate from class Error to C++ exceptions
|
2016-11-10 12:55:08 +01:00 |
|
Max Kellermann
|
f62546ec79
|
decoder/mad: use C++11 initializers
|
2016-10-25 18:52:54 +02:00 |
|
Max Kellermann
|
8c744efd56
|
input/InputStream: migrate from class Error to C++ exceptions
|
2016-09-16 17:43:36 +02:00 |
|
Max Kellermann
|
1aee89f5ea
|
*: include cleanup (using iwyu)
|
2016-03-01 22:08:13 +01:00 |
|
Max Kellermann
|
1d67aa7bf2
|
update copyright year to 2016
|
2016-02-26 17:54:05 +01:00 |
|
Max Kellermann
|
73307bf2e7
|
tag/TagHandler: pass by reference
|
2016-02-23 10:10:13 +01:00 |
|
Max Kellermann
|
a5f8fd774d
|
tag/handler: use CamelCase
|
2016-02-22 17:38:06 +01:00 |
|
Max Kellermann
|
733989a284
|
util/StringUtil: move comparison functions to StringCompare.cxx
|
2015-11-06 09:20:18 +01:00 |
|
Max Kellermann
|
62bfb1a273
|
decoder/mad: reduce memory usage while scanning tags
Allocate the frame pointers only when actually decoding the file.
|
2015-10-19 13:12:36 +02:00 |
|
Max Kellermann
|
4fa5538e2b
|
config/Param: split block-specific attributes to new struct ConfigBlock
The old struct config_param remains only for top-level string options.
|
2015-01-21 23:56:33 +01:00 |
|
Max Kellermann
|
1c3f5517fa
|
config/Option: convert to strictly-typed enum
|
2015-01-21 23:30:00 +01:00 |
|
Max Kellermann
|
712ed555e6
|
Copyright year 2015
|
2015-01-01 19:48:13 +01:00 |
|
Max Kellermann
|
e813c93e08
|
decoder/mad: convert "const" to "constexpr"
|
2014-12-09 21:59:11 +01:00 |
|
Max Kellermann
|
c643b6ff16
|
configure.ac: add macro MPD_ENABLE_AUTO_PKG_LIB
|
2014-11-22 23:50:21 +01:00 |
|
Max Kellermann
|
54c591bd9d
|
decoder/mad: fix negative replay gain values
Negating an unsigned integer does not work.
|
2014-10-28 22:22:30 +01:00 |
|
Max Kellermann
|
6c48aa5fae
|
decoder/mad: move code to tag/MixRamp.cxx
|
2014-09-24 22:40:34 +02:00 |
|
Max Kellermann
|
05dd9acba8
|
tag/ApeReplayGain, decoder/mad: move duplicate code to tag/ReplayGain.cxx
|
2014-09-24 21:50:34 +02:00 |
|
Max Kellermann
|
3158955198
|
TagHandler: pass SongTime to duration()
|
2014-08-29 22:52:04 +02:00 |
|
Max Kellermann
|
d9d97bd17b
|
DecoderAPI: pass SignedSongTime to decoder_initialized()
|
2014-08-29 21:40:15 +02:00 |
|
Max Kellermann
|
0c2d767f6f
|
DecoderAPI: use std::chrono::duration for decoder_seek*()
For type safety and code readability.
|
2014-08-26 22:27:04 +02:00 |
|
Max Kellermann
|
69b5929c5a
|
decoder/mad: use integer seek times
Avoid roundtrips to floating point.
|
2014-08-26 11:07:47 +02:00 |
|
Max Kellermann
|
9da88eec3e
|
decoder/mad: move duplicate code to RecoverFrameError()
|
2014-08-26 10:52:17 +02:00 |
|
Max Kellermann
|
f10d9996d2
|
decoder/mad: simplify if/else chain
|
2014-08-26 10:52:17 +02:00 |
|
Max Kellermann
|
58ec9d3a73
|
decoder/mad: make variables more local
|
2014-08-26 10:34:04 +02:00 |
|
Max Kellermann
|
4a503ba1ad
|
decoder/mad: simplify "return", eliminate check
This check was redundant, because we could only exit the loop when
ret==DECODE_OK.
|
2014-08-26 10:30:22 +02:00 |
|
Max Kellermann
|
da6dd2dc92
|
decoder/mad: don't reset the xing struct
Not necessary.
|
2014-08-25 10:32:40 +02:00 |
|
Max Kellermann
|
40b9de66c7
|
decoder/mad: remove unused flag "found_xing"
|
2014-08-25 10:31:55 +02:00 |
|
Max Kellermann
|
aac985951a
|
decoder/mad: convert enums/macros to constexpr
|
2014-08-24 21:06:50 +02:00 |
|
Max Kellermann
|
662cc5fe20
|
decoder/mad: make variables more local
|
2014-08-24 20:57:47 +02:00 |
|
Max Kellermann
|
bb472206de
|
InputStream: move typedef offset_type to Offset.hxx
Reduce header dependencies.
|
2014-08-19 22:29:52 +02:00 |
|
Max Kellermann
|
51cda0be2a
|
decoder/mad: check InputStream::KnownSize()
|
2014-08-19 20:44:29 +02:00 |
|
Max Kellermann
|
07b93dcf80
|
InputStream: make Seek() always absolute
Remove the "whence" parameter that is not actually necessary, and only
complicates the InputStream implementations.
|
2014-05-22 13:52:00 +02:00 |
|
Max Kellermann
|
f8bfea8bae
|
Input*: move to input/
|
2014-01-24 16:33:33 +01:00 |
|
Max Kellermann
|
197b503f3e
|
Config*: move to config/
|
2014-01-24 00:20:01 +01:00 |
|
Max Kellermann
|
51adaf2c47
|
decoder/*: move to decoder/plugins/
|
2014-01-24 00:02:24 +01:00 |
|