config root man

Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_ossaudiodev.pyo

³ò
h”Rc@sEddklZeidƒddklZlZlZlZddkZddk	Z	ddk
Z
ddkZddkZddk
Z
ddkZddkZddkZyddk
lZWn9ej
o-eidjo
e
iZqûe
iZnXdZd„Zdd	„Zd
„Zd„Zd„Zd
„ZeƒdS(iÿÿÿÿ(ttest_supporttaudio(tverbosetfindfilet
TestFailedtTestSkippedN(tAFMT_S16_NEtlittleicCst|dƒ}ti|ƒ\}}}}}|iƒ}|iƒ|tjo
dGHdSnti|dƒ}||d|fS(Ntrbs)Expect .au file with 8-bit mu-law samplesii(topentsunaudiotgethdrtreadtclosetSND_FORMAT_MULAW_8taudiooptulaw2lin(tpathtfptsizetenctratet	nchannelstextratdata((s1/usr/local/lib/python2.5/test/test_ossaudiodev.pytread_sound_files

cCs"|pt|pdƒ‚ndS(Nsassertion failed(tAssertionError(texprtmessage((s1/usr/local/lib/python2.5/test/test_ossaudiodev.pyt_assert,scCsÝytidƒ}WnTtj
oH}|dtitititifjo
t|‚nt	|‚nX|i
ƒ|iƒ|iƒ|i
ƒ|iƒt|itjdƒt|idjƒt|idjd|iƒxHdD]@}y$t||d	ƒtd
|ƒ‚Wqétj
oqéXqéWtt|ƒƒ|d||}|it||ƒd|GHtiƒ}|i|ƒ|iƒtiƒ}	|	|}
t|
|ƒ|d
}t|djd|
|fƒdS(Ntwisdsp.closed is not Falses/dev/dspsbad dsp.mode: %rtclosedtnametmodei*sdsp.%s not read-onlyis9playing test sound file (expected running time: %.2f sec)idg$@s>elapsed time (%.2f sec) > 10%% off of expected time (%.2f sec)(sclosedsnamesmode(tossaudiodevR	tIOErrorterrnotEACCEStENOENTtENODEVtEBUSYRRtbufsizet	obufcounttobuffreetgetptrtfilenoRRtFalseR R!tsetattrtRuntimeErrort	TypeErrortfloattlent
setparametersRttimetwriteR
tabs(RRtssizeRtdsptmsgtattrt
expected_timett1tt2telapsed_timetpercent_diff((s1/usr/local/lib/python2.5/test/test_ossaudiodev.pytplay_sound_file0sD)





	"


cCstiddf}tddf}xv||gD]\}|\}}}|i|ƒ|jo1|i|ƒ|jo|i|ƒ|joPq.q.Wtdƒ‚|i|||tƒ}t	||||fjd||fƒ|i|||t
ƒ}t	||||fjd||fƒdS(Nii@iiD¬sRunable to set audio sampling parameters: you must have really weird audio hardwaressetparameters%r: returned %r(R"tAFMT_U8RtsetfmttchannelstspeedR0R4R.RtTrue(R9tconfig1tconfig2tconfigtfmtRDRtresult((s1/usr/local/lib/python2.5/test/test_ossaudiodev.pyttest_setparameters^s 
	c	CsÍt}d}d}x´|d|f|d|f||dfgD]ˆ}|\}}}|i|||tƒ}t||jdƒy(|i|||tƒ}tdƒ‚Wq=tij
o}dGHq=Xq=WdS(	NiD¬ii,iûÿÿÿiÎÿÿÿs7setparameters: unexpectedly got requested configurations%setparameters: expected OSSAudioErrors,setparameters: got OSSAudioError as expected(RR4R.RRFRR"t
OSSAudioError(R9RJRRDRIRKterr((s1/usr/local/lib/python2.5/test/test_ossaudiodev.pyttest_bad_setparameters{s cCsvttdƒƒ\}}}}t||||ƒtidƒ}zt|ƒWd|iƒt|it	jdƒXdS(Nsaudiotest.auRsdsp.closed is not True(
RRRAR"R	RLR
RRRF(RRR8RR9((s1/usr/local/lib/python2.5/test/test_ossaudiodev.pyttest”s
(RPRtrequiresttest.test_supportRRRRR$tfcntlR"tostsystselectR
R5RRtImportErrort	byteordertAFMT_S16_LEtAFMT_S16_BERRtNoneRRARLRO(((s1/usr/local/lib/python2.5/test/test_ossaudiodev.pys<module>s2
"
		.			

Man Man