MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/proc/self/root/usr/lib/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/proc/self/root/usr/lib/python2.4/toaiff.pyc
mò
Ï=Ec@sŽdZdkZdkZdkZdkZddgZhZeiƒZei	ddƒeed<eiƒZei	ddƒeed<eiƒZei	d	dƒeed
<eiƒZei	ddƒeed<eiƒZei	d
dƒeed<eiƒZei	ddƒeed<eiƒZei	ddƒeed<eiƒZ
e
i	ddƒdefd„ƒYZd„Z
d„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.
Nterrorttoaiffssox -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
uncompresscBstZRS(N(t__name__t
__module__(((t/usr/lib/python2.4/toaiff.pyR:sc	Csg}d}zt||ƒ}WdxW|D]N}||jo;yti|ƒWntij
onX|i	|ƒq*q*WX|S(N(
ttempstNonetrett_toaifftfilenamettemptostunlinkRtremove(RRRR
((RR=s
cCs|ddjoZtiƒ\}}ti|ƒ|i|ƒt	i
||ƒ}|ot|d‚qqn|}y(t
i|ƒ}|o|d}nWnÃtj
o·}t|ƒtfƒjo[t|ƒdjoHt|dƒtdƒjo+t|dƒtdƒjo|d}nt|ƒtdƒjot|ƒ}nt|d|‚nX|d	jo|Sn|djp
|tjotd
||f‚ntiƒ\}}ti|ƒ|i|ƒt|i
||ƒ}|ot|d‚n|S(Niþÿÿÿs.Zs: uncompress failediiits: taiffs"%s: unsupported audio file type %rs: conversion to aiff failed(RttempfiletmkstemptfdtfnameRtcloseR
tappendR	tcopytstsRtsndhdrtwhathdrtftypetIOErrortmsgttypetlentreprRttableR(RR
RR"RRRR$((RRLs:

f


(t__doc__RRtpipesR t__all__R(tTemplatettRR	t	ExceptionRRR(R+R	RR*RR-RR(R RR((Rt?	s@				






	

Anon7 - 2021