MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //usr/lib64/python2.4/sunaudio.pyo
mò
‚=5Dc@sAdZdZdefd„ƒYZd„Zd„Zd„ZdS(sInterpret sun audio headers.s.sndterrorcBstZRS(N(t__name__t
__module__(((t /usr/lib64/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