| 1 |
from .format import AudioFormat |
| 2 |
from .frame import AudioFrame |
| 3 |
from .layout import AudioLayout |
| 4 |
|
| 5 |
class AudioFifo: |
| 6 |
def write(self, frame: AudioFrame) -> None: ... |
| 7 |
def read(self, samples: int = 0, partial: bool = False) -> AudioFrame | None: ... |
| 8 |
def read_many(self, samples: int, partial: bool = False) -> list[AudioFrame]: ... |
| 9 |
@property |
| 10 |
def format(self) -> AudioFormat: ... |
| 11 |
@property |
| 12 |
def layout(self) -> AudioLayout: ... |
| 13 |
@property |
| 14 |
def sample_rate(self) -> int: ... |
| 15 |
@property |
| 16 |
def samples(self) -> int: ... |
| 17 |
@property |
| 18 |
def samples_written(self) -> int: ... |
| 19 |
@property |
| 20 |
def samples_read(self) -> int: ... |
| 21 |
@property |
| 22 |
def pts_per_sample(self) -> float: ... |