Commit 79ad5467 authored by Stefan Westerfeld's avatar Stefan Westerfeld

Remove unused private field.

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 50f5b3d9
...@@ -508,12 +508,10 @@ class WatermarkResampler ...@@ -508,12 +508,10 @@ class WatermarkResampler
std::unique_ptr<ResamplerImpl> out_resampler; std::unique_ptr<ResamplerImpl> out_resampler;
WatermarkGen wm_gen; WatermarkGen wm_gen;
const bool need_resampler = false; const bool need_resampler = false;
const int n_channels = 0;
public: public:
WatermarkResampler (int n_channels, int input_rate, const vector<int>& bitvec) : WatermarkResampler (int n_channels, int input_rate, const vector<int>& bitvec) :
wm_gen (n_channels, bitvec), wm_gen (n_channels, bitvec),
need_resampler (input_rate != Params::mark_sample_rate), need_resampler (input_rate != Params::mark_sample_rate)
n_channels (n_channels)
{ {
if (need_resampler) if (need_resampler)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment