filter/AutoConvert: initialize Filter::out_audio_format
This commit is contained in:
parent
5284cd11a9
commit
1a9dfdfab8
1
NEWS
1
NEWS
@ -1,4 +1,5 @@
|
|||||||
ver 0.20.1 (not yet released)
|
ver 0.20.1 (not yet released)
|
||||||
|
* fix crash with volume_normalization enabled
|
||||||
|
|
||||||
ver 0.20 (2017/01/04)
|
ver 0.20 (2017/01/04)
|
||||||
* protocol
|
* protocol
|
||||||
|
@ -45,7 +45,8 @@ class AutoConvertFilter final : public Filter {
|
|||||||
public:
|
public:
|
||||||
AutoConvertFilter(std::unique_ptr<Filter> &&_filter,
|
AutoConvertFilter(std::unique_ptr<Filter> &&_filter,
|
||||||
std::unique_ptr<Filter> &&_convert)
|
std::unique_ptr<Filter> &&_convert)
|
||||||
:filter(std::move(_filter)), convert(std::move(_convert)) {}
|
:Filter(_filter->GetOutAudioFormat()),
|
||||||
|
filter(std::move(_filter)), convert(std::move(_convert)) {}
|
||||||
|
|
||||||
ConstBuffer<void> FilterPCM(ConstBuffer<void> src) override;
|
ConstBuffer<void> FilterPCM(ConstBuffer<void> src) override;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user