| 1 | /* |
| 2 | * Copyright (C) 2016, Mike Walters <[email protected]> |
| 3 | * |
| 4 | * This file is part of inspectrum. |
| 5 | * |
| 6 | * This program is free software: you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation, either version 3 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | */ |
| 19 | |
| 20 | #pragma once |
| 21 | |
| 22 | #include "samplebuffer.h"cxx . . $ `<file>/src/samplebuffer.h`/ |
| 23 | #include <vector> |
| 24 | |
| 25 | class TunerTransformcxx . . $ TunerTransform# : public SampleBuffercxx . . $ SampleBuffer#<stdcxx . . $ std/::complexcxx . . $ std/complex#<float>, stdcxx . . $ std/::complexcxx . . $ std/complex#<float>> |
| 26 | { |
| 27 | private: |
| 28 | float frequencycxx . . $ TunerTransform#frequency.; |
| 29 | float bandwidthcxx . . $ TunerTransform#bandwidth.; |
| 30 | stdcxx . . $ std/::vectorcxx . . $ std/vector#<float> tapscxx . . $ TunerTransform#taps.; |
| 31 | |
| 32 | public: |
| 33 | TunerTransformcxx . . $ TunerTransform#TunerTransform(b44028109ee6b4a).(stdcxx . . $ std/::shared_ptrcxx . . $ std/shared_ptr#<SampleSourcecxx . . $ SampleSource#<stdcxx . . $ std/::complexcxx . . $ std/complex#<float>>> src); |
| 34 | void workcxx . . $ TunerTransform#work(cf607f79dc20ecb0).(void *input, void *output, int count, size_t sampleid) override; |
| 35 | void setFrequencycxx . . $ TunerTransform#setFrequency(9364e6e7bff7660).(float frequency); |
| 36 | void setTapscxx . . $ TunerTransform#setTaps(1bcd582b5f19dd78).(stdcxx . . $ std/::vectorcxx . . $ std/vector#<float> taps); |
| 37 | void setRelativeBandwithcxx . . $ TunerTransform#setRelativeBandwith(9364e6e7bff7660).(float bandwidth); |
| 38 | float relativeBandwidthcxx . . $ TunerTransform#relativeBandwidth(9b8c9e39889c762c).() override; |
| 39 | }; |