Max Kellermann
|
816603fd9a
|
config/Config*: rename files, drop "Config" prefix
|
2018-07-16 19:50:07 +02:00 |
|
Max Kellermann
|
65bbb0e0aa
|
Merge tag 'v0.20.17'
release v0.20.17
|
2018-02-11 13:22:43 +01:00 |
|
Max Kellermann
|
e46fbd0780
|
filter/convert: set the PcmConvert instance only if it was initialized
Fixes valgrind warning.
|
2018-02-09 19:05:45 +01:00 |
|
Max Kellermann
|
56b74ad990
|
filter/convert: add method IsActive()
|
2018-02-09 19:04:45 +01:00 |
|
Max Kellermann
|
9ce6828d72
|
filter/convert: call PcmConvert::Flush() only if initialized
Fixes another part of #208, the one which caused the bogus exception.
|
2018-01-29 22:35:28 +01:00 |
|
Max Kellermann
|
7ff5cf8372
|
filter/convert: add method IsActive()
|
2018-01-29 22:33:54 +01:00 |
|
Max Kellermann
|
f6ec43b9ec
|
pcm/Resampler: add virtual method Flush()
Wired to Filter::Flush().
Closes #153
|
2018-01-02 23:17:25 +01:00 |
|
Max Kellermann
|
6d0d8cf9cf
|
filter/Filter: add virtual method Flush()
This will be used by filters which have internal buffers which need to
be flushed at the end, e.g. the "soxr" resampler.
|
2018-01-02 23:15:51 +01:00 |
|
Max Kellermann
|
e387d94ff1
|
filter/Filter: add "noexcept"
|
2018-01-01 19:23:01 +01:00 |
|
Max Kellermann
|
551ac56a33
|
Filter/Internal: split header
|
2018-01-01 18:48:34 +01:00 |
|
Max Kellermann
|
f76262ef79
|
poison.h: remove obsolete header
|
2017-12-29 17:29:52 +01:00 |
|
Max Kellermann
|
edef62df86
|
filter/Internal: return std::unique_ptr<Filter>
|
2017-12-27 11:56:05 +01:00 |
|
Max Kellermann
|
e2621d5e44
|
filter/Plugin: return std::unique_ptr<PreparedFilter>
|
2017-12-27 11:39:01 +01:00 |
|
Max Kellermann
|
0e3ff12dd3
|
filter/volume: remove from filter_plugins[]
Thsi filter doesn't make sense as manually configured plugin, because
nobody ever calls volume_filter_set() on it, making it a no-op.
|
2017-12-27 11:38:38 +01:00 |
|
Max Kellermann
|
b335ac4156
|
filter/{chain,convert}: remove unused FilterPlugin instances
These are not in filter_plugins[] and have dedicated constructors
anyway.
|
2017-12-27 11:33:15 +01:00 |
|
Max Kellermann
|
914df18bf9
|
Main, ...: catch any exception, not just std::runtime_error
|
2017-12-19 10:56:23 +01:00 |
|
Max Kellermann
|
b8be7ec90e
|
filter/Normalize: add normalize_filter_prepare()
|
2017-08-07 18:28:52 +02:00 |
|
Max Kellermann
|
a3d71f4b91
|
filter/Convert: add convert_filter_prepare()
|
2017-08-07 18:27:00 +02:00 |
|
Max Kellermann
|
9250819b75
|
filter/Volume: add volume_filter_prepare()
Circumvent filter_new() with a fake ConfigBlock.
|
2017-08-07 18:23:13 +02:00 |
|
Max Kellermann
|
501a4af914
|
util/StringUtil: move strip functions to StringStrip.cxx
|
2017-07-05 17:20:02 +02:00 |
|
Max Kellermann
|
0500990d23
|
filter/volume: remove unused PcmVolume instance
|
2017-06-08 21:48:22 +02:00 |
|
Max Kellermann
|
22a82f1eaa
|
mixer/software, filter/volume: add "noexcept"
|
2017-06-08 21:45:23 +02:00 |
|
Max Kellermann
|
39114f91a7
|
AudioFormat: replace struct audio_format_string with class StringBuffer, return it
|
2017-01-17 22:18:21 +01:00 |
|
Max Kellermann
|
27c7891169
|
filter/Internal: add method Reset()
|
2017-01-11 15:34:25 +01:00 |
|
Max Kellermann
|
1a9dfdfab8
|
filter/AutoConvert: initialize Filter::out_audio_format
|
2017-01-06 12:44:55 +01:00 |
|
Max Kellermann
|
5284cd11a9
|
filter/AutoConvert: remove obsolete NULL check
|
2017-01-06 12:35:06 +01:00 |
|
Max Kellermann
|
d1a47cffad
|
filter/convert: remove obsolete method prototype
|
2017-01-06 12:34:39 +01:00 |
|
Max Kellermann
|
5900253b85
|
update copyright year
|
2017-01-03 20:48:59 +01:00 |
|
Max Kellermann
|
3000b9dcde
|
filter/ReplayGain: add ReplayGainConfig copy
Remove dependency on ReplayGain global variables.
|
2016-12-03 12:51:02 +01:00 |
|
Max Kellermann
|
3b867462a3
|
filter/ReplayGain: remove FilterPlugin instance, add explicit constructor
|
2016-12-03 12:34:23 +01:00 |
|
Max Kellermann
|
513e3a3d21
|
filter/ReplayGain: forward-declare struct ReplayGainInfo
|
2016-12-03 12:20:32 +01:00 |
|
Max Kellermann
|
bfb0897b54
|
filter/ReplayGain: convert pointers to references
|
2016-12-03 12:13:45 +01:00 |
|
Max Kellermann
|
77c1f54876
|
ReplayGainConfig: add struct ReplayGainConfig, move globals to ReplayGainGlobal.cxx
|
2016-11-25 11:13:08 +01:00 |
|
Max Kellermann
|
7afbd4800f
|
filter/ReplayGain: use ToString(ReplayGainMode)
|
2016-11-24 17:39:00 +01:00 |
|
Max Kellermann
|
5f396e824f
|
ReplayGainMode: convert to strictly-typed enum
|
2016-11-24 17:34:57 +01:00 |
|
Max Kellermann
|
1261327fa6
|
ReplayGainInfo: implement fallback in Get()
Eliminates Complete().
|
2016-11-24 17:34:57 +01:00 |
|
Max Kellermann
|
09c3cc58e4
|
ReplayGainInfo: add method Get()
|
2016-11-24 17:34:57 +01:00 |
|
Max Kellermann
|
4dd1309c3f
|
filter/Plugin: rename with CamelCase
|
2016-11-23 17:43:50 +01:00 |
|
Max Kellermann
|
22dcca9832
|
util/Error: remove obsolete class
|
2016-11-10 12:58:26 +01:00 |
|
Max Kellermann
|
403f0f8c64
|
SongLoader, ...: include cleanup
|
2016-11-07 09:01:57 +01:00 |
|
Max Kellermann
|
e7d327226a
|
mixer: migrate to C++ exceptions
|
2016-09-09 14:44:15 +02:00 |
|
Max Kellermann
|
ae1eb9ccde
|
pcm/Convert: migrate from class Error to C++ exceptions
|
2016-09-09 14:44:13 +02:00 |
|
Max Kellermann
|
1c07f197de
|
Filter/Plugin: migrate from class Error to C++ exceptions
|
2016-09-04 20:07:05 +02:00 |
|
Max Kellermann
|
13c32111a0
|
Filter/Internal: migrate from class Error to C++ exceptions
|
2016-09-04 19:38:41 +02:00 |
|
Max Kellermann
|
28c6975732
|
filter/AutoConvert: use std::unique_ptr
|
2016-09-04 19:36:50 +02:00 |
|
Max Kellermann
|
b67e7df38e
|
Merge tag 'v0.19.17'
release v0.19.17
|
2016-07-09 00:46:09 +02:00 |
|
Max Kellermann
|
58487e484f
|
filter/route: use PcmSilence()
|
2016-07-05 18:01:29 +02:00 |
|
Max Kellermann
|
a012b25335
|
filter/convert: fix no-op check
Commit 3a212412 changed the meaning of out_audio_format, but I forgot
to apply this to ConvertFilter::FilterPCM().
See https://bugs.musicpd.org/view.php?id=4551
|
2016-07-04 15:17:03 +02:00 |
|
Max Kellermann
|
072e39c9cf
|
filter/ReplayGain: skip PcmVolume if a mixer is set
Previously, volume was applied twice: once by PcmVolume, and again by
the hardware mixer.
|
2016-07-01 21:17:52 +02:00 |
|
Max Kellermann
|
3a21241248
|
filter/FilterInternal: split class Filter, add class PreparedFilter
For easier state management inside filter plugins.
|
2016-07-01 21:04:24 +02:00 |
|