From 88363482ef70c5d50ec7a1c8164c0d2bd63035b7 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 3 Jun 2018 22:46:45 +0200 Subject: [PATCH] Fix warning of unused private member --- src/algorithms/input_filter/adapters/beamformer_filter.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/algorithms/input_filter/adapters/beamformer_filter.cc b/src/algorithms/input_filter/adapters/beamformer_filter.cc index f65034325..fb50853ec 100644 --- a/src/algorithms/input_filter/adapters/beamformer_filter.cc +++ b/src/algorithms/input_filter/adapters/beamformer_filter.cc @@ -68,6 +68,14 @@ BeamformerFilter::BeamformerFilter( DLOG(INFO) << "file_sink(" << file_sink_->unique_id() << ")"; } samples_ = 0; + if (in_stream_ > 8) + { + LOG(ERROR) << "This implementation only supports eight input streams"; + } + if (out_stream_ > 1) + { + LOG(ERROR) << "This implementation only supports one output stream"; + } }