X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fresampling_queue.h;h=31ea4e47b2feec508de1075dd93e9a1e3fd5c6cf;hb=a0e57ec99e9dfdd7e79bcf21e8c996dc43b6cb49;hp=f0e2499cbf3300e9b4340430b85bf33f25862006;hpb=9b7d691b4cc5db7dbfc18c82e86c1207fcac4722;p=nageru
diff --git a/nageru/resampling_queue.h b/nageru/resampling_queue.h
index f0e2499..31ea4e4 100644
--- a/nageru/resampling_queue.h
+++ b/nageru/resampling_queue.h
@@ -38,19 +38,18 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
+#include
#include
#include
#include
#include
-#include
+#include
-#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
@@ -69,7 +68,7 @@ private:
VResampler vresampler;
- DeviceSpec device_spec;
+ std::string debug_description;
unsigned freq_in, freq_out, num_channels;
bool first_output = true;