관리-도구
편집 파일: audio.cpython-311.opt-2.pyc
� c��f � � � d gZ ddlmZ ddlmZ ddlmZ G d� d e� � Zg Zd� Z d� Z e d� � � Ze d � � � Ze d � � � Z dS )� MIMEAudio� )�BytesIO)�encoders)�MIMENonMultipartc �, � e Zd Z dej fdd�d�ZdS )r N)�policyc � � |�t |� � }|�t d� � �t j | d|fd|i|�� | � |� � || � � d S )Nz!Could not find audio MIME subtype�audior )�_what� TypeErrorr �__init__�set_payload)�self� _audiodata�_subtype�_encoderr �_paramss �7/opt/alt/python311/lib64/python3.11/email/mime/audio.pyr zMIMEAudio.__init__ s� � � �( ���Z�(�(�H����?�@�@�@��!�$��� -� -�&� -�$+� -� -� -�����$�$�$��������� )�__name__� __module__�__qualname__r � encode_base64r � r r r r sA � � � � � �6�,0�"�0��<@�� � � � � � r c �p � | d d� }t |� � }t D ]} |||� � x}r|c S �d S )Ni )r �_rules)�data�hdr�fakefile�testfn�ress r r r 8 sY � � �t��t�*�C��s�|�|�H�� � ���&��h�'�'�'�3� ��J�J�J� � �tr c �: � t � | � � | S )N)r �append)�rulefuncs r �ruler% G s � � �M�M�(�����Or c �P � | � d� � sd S | dd� dv rdS d S )Ns FORM� � > � AIFC� AIFFzx-aiff�� startswith��h�fs r �_aiffr0 L s9 � ��<�<�� � � ��t���2��w�$�$�$��x��tr c �4 � | � d� � rdS d S )Ns .snd�basicr+ r- s r �_aur3 V s � ��|�|�G��� ��w��tr c �l � | � d� � r| dd� dk s| dd� dk rd S dS )Ns RIFFr'