Lines Matching defs:int
53 frame_duration_us: int,
54 sample_rate_hz: int,
55 num_channels: int,
153 def get_frame_bytes(self, bitrate: int) -> int:
170 def resolve_bitrate(self, num_bytes: int) -> int:
232 frame_duration_us: int,
233 sample_rate_hz: int,
234 num_channels: int = 1,
311 num_bytes: int,
317 self, pcm: bytes | bytearray | memoryview, num_bytes: int, bit_depth: int
320 def encode(self, pcm, num_bytes: int, bit_depth: int | None = None) -> bytes:
398 frame_duration_us: int,
399 sample_rate_hz: int,
400 num_channels: int = 1,
479 def decode(self, data: bytes | bytearray | memoryview, bit_depth: int) -> bytes: ...