]> git.sesse.net Git - nageru/blobdiff - nageru/alsa_pool.h
Don't reset an ALSA device when the only thing that changes is which channels to...
[nageru] / nageru / alsa_pool.h
index 9c1715c56bb0bd2eb049de94c92cad588e93c8f0..d42101971ccd41d6cd15bdf7e99689bea2283633 100644 (file)
@@ -80,6 +80,7 @@ public:
 
        void hold_device(unsigned index);
        void release_device(unsigned index);  // Note: index is allowed to go out of bounds.
+       bool device_is_held(unsigned index);  // Same here.
 
        // If device is held, start or restart capture. If device is not held,
        // stop capture if it isn't already.