]> git.sesse.net Git - nageru/blobdiff - alsa_output.h
Shut down the ALSA inotify thread using an eventfd instead of busypolling every 100 ms.
[nageru] / alsa_output.h
index 12af16ecbfdd9ade616805fea169f7004899b0ff..90223b75baa71d9438cf3ce2c8580f797c347a48 100644 (file)
@@ -21,7 +21,7 @@ private:
        snd_pcm_t *pcm_handle;
        std::vector<float> buffer;
        snd_pcm_uframes_t period_size;
-       int num_channels;
+       int sample_rate, num_channels;
 };
 
 #endif  // !defined(_ALSA_OUTPUT_H)