X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bmusb%2Fbmusb.h;fp=bmusb%2Fbmusb.h;h=22a6655b21da12792d9a4069bf415b7bfdb521ec;hb=28c6df233b806a580281eb1ae242fa108af3eb09;hp=21cbc408da0f1190db14cd6d45d94ddfab8ace1a;hpb=92708386b8ea2a63b99c20e6a5f6beff3d9311ac;p=bmusb diff --git a/bmusb/bmusb.h b/bmusb/bmusb.h index 21cbc40..22a6655 100644 --- a/bmusb/bmusb.h +++ b/bmusb/bmusb.h @@ -175,6 +175,10 @@ class BMUSBCapture : public CaptureInterface { ~BMUSBCapture() {} + // Note: Cards could be unplugged and replugged between this call and + // actually opening the card (in configure_card()). + static int num_cards(); + std::map get_available_video_modes() const override; uint32_t get_current_video_mode() const override; void set_video_mode(uint32_t video_mode_id) override;