// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
+#include <stddef.h>
#include <sys/types.h>
#include <zita-resampler/vresampler.h>
#include <chrono>
#include <deque>
-#include <memory>
+#include <string>
-#include "defs.h"
-#include "input_mapping.h"
class ResamplingQueue {
public:
- // device_spec is for debugging outputs only.
- ResamplingQueue(DeviceSpec device_spec, unsigned freq_in, unsigned freq_out, unsigned num_channels, double expected_delay_seconds);
+ // debug_description is for diagnostic output only.
+ ResamplingQueue(const std::string &debug_description, unsigned freq_in, unsigned freq_out, unsigned num_channels, double expected_delay_seconds);
// If policy is DO_NOT_ADJUST_RATE, the resampling rate will not be changed.
// This is primarily useful if you have an extraordinary situation, such as
VResampler vresampler;
- DeviceSpec device_spec;
+ std::string debug_description;
unsigned freq_in, freq_out, num_channels;
bool first_output = true;