]> git.sesse.net Git - nageru/blobdiff - nageru/resampling_queue.h
Make number of cards flexible at runtime.
[nageru] / nageru / resampling_queue.h
index f0e2499cbf3300e9b4340430b85bf33f25862006..dd55d4c62a85695f6f7b737ec46eb27321f70433 100644 (file)
@@ -49,8 +49,8 @@
 
 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 +69,7 @@ private:
 
        VResampler vresampler;
 
-       DeviceSpec device_spec;
+       std::string debug_description;
        unsigned freq_in, freq_out, num_channels;
 
        bool first_output = true;