11from typing_extensions import TypeAlias
22
3- AdpcmState : TypeAlias = tuple [int , int ]
4- RatecvState : TypeAlias = tuple [int , tuple [tuple [int , int ], ...]]
3+ _AdpcmState : TypeAlias = tuple [int , int ]
4+ _RatecvState : TypeAlias = tuple [int , tuple [tuple [int , int ], ...]]
55
66class error (Exception ): ...
77
88def add (__fragment1 : bytes , __fragment2 : bytes , __width : int ) -> bytes : ...
9- def adpcm2lin (__fragment : bytes , __width : int , __state : AdpcmState | None ) -> tuple [bytes , AdpcmState ]: ...
9+ def adpcm2lin (__fragment : bytes , __width : int , __state : _AdpcmState | None ) -> tuple [bytes , _AdpcmState ]: ...
1010def alaw2lin (__fragment : bytes , __width : int ) -> bytes : ...
1111def avg (__fragment : bytes , __width : int ) -> int : ...
1212def avgpp (__fragment : bytes , __width : int ) -> int : ...
@@ -17,7 +17,7 @@ def findfactor(__fragment: bytes, __reference: bytes) -> float: ...
1717def findfit (__fragment : bytes , __reference : bytes ) -> tuple [int , float ]: ...
1818def findmax (__fragment : bytes , __length : int ) -> int : ...
1919def getsample (__fragment : bytes , __width : int , __index : int ) -> int : ...
20- def lin2adpcm (__fragment : bytes , __width : int , __state : AdpcmState | None ) -> tuple [bytes , AdpcmState ]: ...
20+ def lin2adpcm (__fragment : bytes , __width : int , __state : _AdpcmState | None ) -> tuple [bytes , _AdpcmState ]: ...
2121def lin2alaw (__fragment : bytes , __width : int ) -> bytes : ...
2222def lin2lin (__fragment : bytes , __width : int , __newwidth : int ) -> bytes : ...
2323def lin2ulaw (__fragment : bytes , __width : int ) -> bytes : ...
@@ -31,10 +31,10 @@ def ratecv(
3131 __nchannels : int ,
3232 __inrate : int ,
3333 __outrate : int ,
34- __state : RatecvState | None ,
34+ __state : _RatecvState | None ,
3535 __weightA : int = ...,
3636 __weightB : int = ...,
37- ) -> tuple [bytes , RatecvState ]: ...
37+ ) -> tuple [bytes , _RatecvState ]: ...
3838def reverse (__fragment : bytes , __width : int ) -> bytes : ...
3939def rms (__fragment : bytes , __width : int ) -> int : ...
4040def tomono (__fragment : bytes , __width : int , __lfactor : float , __rfactor : float ) -> bytes : ...
0 commit comments