File: layout.pyi

package info (click to toggle)
python-av 16.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,684 kB
  • sloc: python: 7,607; sh: 182; ansic: 174; makefile: 135
file content (12 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
from dataclasses import dataclass

class AudioLayout:
    name: str
    nb_channels: int
    channels: tuple[AudioChannel, ...]
    def __init__(self, layout: str | AudioLayout): ...

@dataclass
class AudioChannel:
    name: str
    description: str