Server IP : 173.231.199.178  /  Your IP : 216.73.216.46
Web Server : Apache
System : Linux vps67388.inmotionhosting.com 3.10.0-1160.119.1.vz7.224.4 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User : koolde6 ( 1002)
PHP Version : 8.1.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /run/../lib64/python2.7/unittest/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //run/../lib64/python2.7/unittest/../sunaudio.pyo
�
̘ic@sddZddlmZeddd�[dZdefd��YZd	�Zd
�Zd�ZdS(
sInterpret sun audio headers.i����(twarnpy3ksPthe sunaudio module has been removed in Python 3.0; use the sunau module insteadt
stacklevelis.sndterrorcBseZRS((t__name__t
__module__(((s /usr/lib64/python2.7/sunaudio.pyR
scCsDt|d�d>t|d�d>Bt|d�d>Bt|d�BS(s"Convert a 4-char value to integer.iiiiiii(tord(ts((s /usr/lib64/python2.7/sunaudio.pytget_long_bescCs�|jd�tkr!td�nt|jd��}t|jd��}t|jd��}t|jd��}t|jd��}|d}|dkr�td�n|dkr�|j|�}nd}|||||fS(s&Read a sound header from an open file.isgethdr: bad magic wordiisgethdr: bad hdr_sizet(treadtMAGICRR(tfpthdr_sizet	data_sizetencodingtsample_ratetchannelstexcesstinfo((s /usr/lib64/python2.7/sunaudio.pytgethdrs
cCs�tt|d��}|\}}}}}x|ddkrJ|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(Rtopentrepr(tfilethdrR
RRRR((s /usr/lib64/python2.7/sunaudio.pytprinthdr&s					N(	t__doc__twarningsRR
t	ExceptionRRRR(((s /usr/lib64/python2.7/sunaudio.pyt<module>s