🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-14 23:35:55 | PHP 8.1.34
📂
/ (Root)
/
opt
/
alt
/
python39
/
lib64
/
python3.9
/
email
/
mime
/
__pycache__
📍 /opt/alt/python39/lib64/python3.9/email/mime/__pycache__
🔄 Refresh
✏️
Editing: audio.cpython-39.pyc
Read Only
a XC?h� � @ s` d Z dgZddlZddlmZ ddlmZ ddlmZ ddd d d �Z dd� Z G d d� de�ZdS )z/Class representing audio/* type MIME documents.� MIMEAudio� N)�BytesIO)�encoders)�MIMENonMultipartZbasiczx-wavzx-aiff)ZauZwavZaiffZaifcc C sH | dd� }t |�}tjD ](}|||�}|durt�|d � S qdS )a Try to identify a sound file type. sndhdr.what() has a pretty cruddy interface, unfortunately. This is why we re-do it here. It would be easier to reverse engineer the Unix 'file' command and use the standard 'magic' file, as shipped with a modern Unix. Ni r )r �sndhdrZtests�_sndhdr_MIMEmap�get)�dataZhdrZfakefileZtestfn�res� r �5/opt/alt/python39/lib64/python3.9/email/mime/audio.py�_whatsnd s r c @ s&