]> git.sesse.net Git - nageru/blobdiff - resampling_queue.h
Fix the display of the transition names again.
[nageru] / resampling_queue.h
index c085eceb6755838ea12001cf6aa6d39a6f21e1d5..e43e0ea073767e45b787b2d5c9913df36eb4b22e 100644 (file)
@@ -47,7 +47,8 @@
 
 class ResamplingQueue {
 public:
-       ResamplingQueue(unsigned freq_in, unsigned freq_out, unsigned num_channels = 2);
+       // card_num is for debugging outputs only.
+       ResamplingQueue(unsigned card_num, unsigned freq_in, unsigned freq_out, unsigned num_channels = 2);
 
        // Note: pts is always in seconds.
        void add_input_samples(double pts, const float *samples, ssize_t num_samples);
@@ -58,6 +59,7 @@ private:
 
        VResampler vresampler;
 
+       unsigned card_num;
        unsigned freq_in, freq_out, num_channels;
 
        bool first_input = true, first_output = true;