Debian Codegraph @

av/device.pyi

raw
1 __all__ = ("DeviceInfo", "enumerate_input_devices", "enumerate_output_devices")
2
3 class DeviceInfo:
4 name: str
5 description: str
6 is_default: bool
7 media_types: list[str]
8
9 def __init__(
10 self,
11 name: str,
12 description: str,
13 is_default: bool,
14 media_types: list[str],
15 ) -> None: ...
16 def __repr__(self) -> str: ...
17
18 def enumerate_input_devices(format_name: str) -> list[DeviceInfo]: ...
19 def enumerate_output_devices(format_name: str) -> list[DeviceInfo]: ...