bro
This commit is contained in:
1 parent
de41a02749
commit
9af09cebd3
764 files changed
+54218
-78859
No files matched your search
@@ -1,5 +1,4 @@
|
||||
from collections.abc import Callable
|
||||
from typing import Optional
|
||||
from typing import Callable, List
|
||||
|
||||
AUDIO_U8: int
|
||||
AUDIO_S8: int
|
||||
@@ -21,12 +20,12 @@ AUDIO_ALLOW_FORMAT_CHANGE: int
|
||||
AUDIO_ALLOW_CHANNELS_CHANGE: int
|
||||
AUDIO_ALLOW_ANY_CHANGE: int
|
||||
|
||||
def get_audio_device_names(iscapture: bool = False) -> list[str]: ...
|
||||
def get_audio_device_names(iscapture: bool = False) -> List[str]: ...
|
||||
|
||||
class AudioDevice:
|
||||
def __init__(
|
||||
self,
|
||||
devicename: Optional[str],
|
||||
devicename: str,
|
||||
iscapture: bool,
|
||||
frequency: int,
|
||||
audioformat: int,
|
||||
@@ -40,7 +39,7 @@ class AudioDevice:
|
||||
@property
|
||||
def deviceid(self) -> int: ...
|
||||
@property
|
||||
def devicename(self) -> Optional[str]: ...
|
||||
def devicename(self) -> str: ...
|
||||
@property
|
||||
def callback(self) -> Callable[[AudioDevice, memoryview], None]: ...
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user