X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=nageru%2Falsa_pool.h;h=d42101971ccd41d6cd15bdf7e99689bea2283633;hb=9768e380472e6ad68c8fc06efde3fa20f18bfc00;hp=9c1715c56bb0bd2eb049de94c92cad588e93c8f0;hpb=4c23038d9c18d22a9bfe577244a2d0fc293a7e6a;p=nageru diff --git a/nageru/alsa_pool.h b/nageru/alsa_pool.h index 9c1715c..d421019 100644 --- a/nageru/alsa_pool.h +++ b/nageru/alsa_pool.h @@ -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.