Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
capture_source.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <string>
5#include <vector>
6
7namespace pulp::inspect {
8
10 std::vector<std::uint8_t> png;
11 std::uint32_t width = 0;
12 std::uint32_t height = 0;
13 std::string error;
14 std::string error_code;
15};
16
20 public:
21 virtual ~InspectorCaptureSource() = default;
23};
24
25} // namespace pulp::inspect
Host-owned image source.
Definition capture_source.hpp:19
virtual InspectorCapture capture_png()=0
Definition agent_context.hpp:7
Definition capture_source.hpp:9
std::uint32_t width
Definition capture_source.hpp:11
std::vector< std::uint8_t > png
Definition capture_source.hpp:10
std::string error_code
Optional protocol code; defaults to capture_failed.
Definition capture_source.hpp:14
std::string error
Definition capture_source.hpp:13
std::uint32_t height
Definition capture_source.hpp:12