MOON
Server: Apache
System: Linux vps.thepromohut.com 2.6.18-398.el5 #1 SMP Tue Sep 16 20:51:48 EDT 2014 i686
User: caretrak (507)
PHP: 5.2.10
Disabled: NONE
Upload Files
File: //proc/self/root/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