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/sunaudio.pyo
mò
Ï=Ec@sAdZdZdefd„ƒYZd„Zd„Zd„ZdS(sInterpret sun audio headers.s.sndterrorcBstZRS(N(t__name__t
__module__(((t/usr/lib/python2.4/sunaudio.pyRscCsDt|dƒd>t|dƒd>Bt|dƒd>Bt|dƒBS(	s"Convert a 4-char value to integer.iiiiiiiN(tordts(R((Rtget_long_be	scCsé|idƒtjo
td‚nt|idƒƒ}t|idƒƒ}t|idƒƒ}t|idƒƒ}t|idƒƒ}|d}|djo
td‚n|djo|i|ƒ}nd}|||||fS(s&Read a sound header from an open file.isgethdr: bad magic wordiisgethdr: bad hdr_sizetN(tfptreadtMAGICRRthdr_sizet	data_sizetencodingtsample_ratetchannelstexcesstinfo(RRR
RRRRR((Rtgethdrs




cCstt|dƒƒ}|\}}}}}x |ddjo|d }q-WdG|GHdG|GHdG|GHdG|GHdG|GHd	Gt	|ƒGHd
S(s0Read and print the sound header of a named file.triÿÿÿÿtsFile name:  sData size:  sEncoding:   sSample rate:sChannels:   sInfo:       N(
RtopentfilethdrRR
RRRtrepr(RRRR
RRR((Rtprinthdr!s					N(t__doc__R
t	ExceptionRRRR(RR
RRR((Rt?s
		

Anon7 - 2021