MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/self/root/proc/2/cwd/usr/lib/python2.4/sunaudio.pyc
mò
‚=5Dc@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