관리-도구
편집 파일: sndhdr.cpython-312.opt-2.pyc
� �Q�f � � � 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)� � )�remove�what�whathdr)� namedtuple� SndHeadersz.filetype framerate nchannels nframes sampwidthz�The 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 )�filename�ress �-/opt/alt/python312/lib64/python3.12/sndhdr.pyr r 8 s � �)� �(� �C��J� c � � t | d� 5 }|j d� }t D ] } |||� }|s�t |� c cd d d � S d d d � y # 1 sw Y y xY w)N�rbi )�open�read�testsr )r �f�h�tfr s r r r >