Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/thread-self/root/proc/self/root/lib64/python2.7/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/proc/self/root/lib64/python2.7/toaiff.pyo

�
zfc@s�dZddlmZeddd�[ddlZddlZddlZddlZddgZiZej	�Z
e
jd	d
�e
ed<ej	�Z
e
jdd
�e
ed
<ej	�Z
e
jdd
�e
ed<ej	�Z
e
jdd
�e
ed<ej	�Z
e
jdd
�e
ed<ej	�Z
e
jdd
�e
ed<ej	�Z
e
jdd
�e
ed<ej	�Zejdd
�de
fd��YZd�Zd�ZdS(s�Convert "arbitrary" sound files to AIFF (Apple and SGI's audio format).

Input may be compressed.
Uncompressed file type may be AIFF, WAV, VOC, 8SVX, NeXT/Sun, and others.
An exception is raised if the file is not of a recognized type.
Returned filename is either the input filename or a temporary filename;
in the latter case the caller must ensure that it is removed.
Other temporary files used are removed by the function.
i����(twarnpy3ks0the toaiff module has been removed in Python 3.0t
stackleveliNterrorttoaiffssox -t au - -t aiff -r 8000 -s--taus sox -t hcom - -t aiff -r 22050 -thcomssox -t voc - -t aiff -r 11025 -tvocssox -t wav - -t aiff -twavs sox -t 8svx - -t aiff -r 16000 -t8svxs sox -t sndt - -t aiff -r 16000 -tsndts sox -t sndr - -t aiff -r 16000 -tsndrt
uncompresscBseZRS((t__name__t
__module__(((s/usr/lib64/python2.7/toaiff.pyR=sc	Cs}g}d}zt||�}WdxS|D]J}||kr*ytj|�Wntjk
rcnX|j|�q*q*WX|S(N(tNonet_toaifftostunlinkRtremove(tfilenamettempstretttemp((s/usr/lib64/python2.7/toaiff.pyR@scCs�|ddkrgtj�\}}tj|�|j|�tj||�}|rmt|d�qmn|}y&tj	|�}|r�|d}nWn�t
k
rO}t|�td�krt|�dkrt|d�td�krt|d�td�kr|d}nt|�td�kr;t
|�}nt|d|�nX|d	kr`|S|dksx|tkr�td
||f�ntj�\}}tj|�|j|�t|j||�}|r�t|d�n|S(
Ni����s.Zs: uncompress failediiits: taiffs"%s: unsupported audio file type %rs: conversion to aiff failed((ttempfiletmkstempRtclosetappendRtcopyRtsndhdrtwhathdrtIOErrorttypetlentreprRttable(RRtfdtfnametststftypetmsgR((s/usr/lib64/python2.7/toaiff.pyROs<

*8


(t__doc__twarningsRRRtpipesRt__all__R$tTemplatettRRt	ExceptionRRR(((s/usr/lib64/python2.7/toaiff.pyt<module>	sF






	

Hacked By AnonymousFox1.0, Coded By AnonymousFox