X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=resampling_queue.h;h=f0e2499cbf3300e9b4340430b85bf33f25862006;hb=4a0187ffb4075b4d217b8d9e9c96cac548b199d8;hp=b46086df9d0954a4aebd3af0acb3937ca6e314de;hpb=f0dacf505189f0cadcd89a2b632000fd9d012bd2;p=nageru diff --git a/resampling_queue.h b/resampling_queue.h index b46086d..f0e2499 100644 --- a/resampling_queue.h +++ b/resampling_queue.h @@ -45,11 +45,12 @@ #include #include "defs.h" +#include "input_mapping.h" class ResamplingQueue { public: - // card_num is for debugging outputs only. - ResamplingQueue(unsigned card_num, unsigned freq_in, unsigned freq_out, unsigned num_channels, double expected_delay_seconds); + // device_spec is for debugging outputs only. + ResamplingQueue(DeviceSpec device_spec, 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 @@ -68,7 +69,7 @@ private: VResampler vresampler; - unsigned card_num; + DeviceSpec device_spec; unsigned freq_in, freq_out, num_channels; bool first_output = true;