python (3.12.0)
ˑe d dl Z e j ed ddgZd dlmZ edd Zd ej _ d
ej _ dej _ dej _ d
ej _ d Z
d Zg Zd Zej# e d Zej# e d Zej# e d Zej# e d Zej# e d Zej# e d Zej# e d Zej# e d Zd Zd Zd Zd Zd Zedk( r e yy) N)
)removewhatwhathdr)
namedtuple
SndHeadersz.filetype framerate nchannels nframes sampwidthzThe value for type indicates the data type
and will be one of the strings 'aifc', 'aiff', 'au','hcom',
'sndr', 'sndt', 'voc', 'wav', '8svx', 'sb', 'ub', or 'ul'.zYThe sampling_rate will be either the actual
value or 0 if unknown or difficult to decode.z^The number of channels or 0 if it cannot be
determined or if the value is difficult to decode.z?The value for frames will be either the number
of frames or -1.zAEither the sample size in bits or
'A' for A-LAW or 'U' for u-LAW.c t | }|S )N)r )filenameress :/BuggyBox/python/3.12.0/bootstrap/lib/python3.12/sndhdr.pyr r 8 s )
(
CJ c t | d 5 }|j d }t D ] } ||| }|st | c cd d d S d d d y # 1 sw Y y xY w)Nrbi )openreadtestsr )r fhtfr s r
r r >