]> git.sesse.net Git - nageru/blobdiff - nageru/cef_capture.h
When the delay analyzer wants audio from an ALSA card, temporarily auto-enable captur...
[nageru] / nageru / cef_capture.h
index 29dededf7b60ad8696dfaec10c71c7f7e84844f4..cc3c67c566517b85fbf0b961747ac371555f075e 100644 (file)
@@ -52,7 +52,7 @@ public:
 
        void OnPaint(CefRefPtr<CefBrowser> browser, PaintElementType type, const RectList &dirtyRects, const void *buffer, int width, int height) override;
 
-       bool GetViewRect(CefRefPtr<CefBrowser> browser, CefRect &rect) override;
+       void GetViewRect(CefRefPtr<CefBrowser> browser, CefRect &rect) override;
 
        // CefLoadHandler.
 
@@ -85,11 +85,11 @@ public:
        void set_max_fps(int max_fps);
        void execute_javascript_async(const std::string &js);
        void resize(unsigned width, unsigned height);
-       void request_new_frame();
+       void request_new_frame(bool ignore_if_locked);
 
        // Callbacks from NageruCEFClient.
        void OnPaint(const void *buffer, int width, int height);
-       bool GetViewRect(CefRect &rect);
+       void GetViewRect(CefRect &rect);
        void OnLoadEnd();
 
        // CaptureInterface.