HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //proc/self/root/proc/self/root/opt/alt/python27/lib64/python2.7/toaiff.pyo
�
2Y~gc@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+/opt/alt/python27/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+/opt/alt/python27/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+/opt/alt/python27/lib64/python2.7/toaiff.pyROs<

*8


(t__doc__twarningsRRRtpipesRt__all__R$tTemplatettRRt	ExceptionRRR(((s+/opt/alt/python27/lib64/python2.7/toaiff.pyt<module>	sF