On Fri, Sep 21, 2007 at 05:21:06AM +0000, Jacob Meuser wrote: > On Thu, Sep 20, 2007 at 09:05:58PM -0700, Ryan Freeman wrote: > > On Fri, Sep 21, 2007 at 03:54:21AM +0000, Jacob Meuser wrote: > > > On Thu, Sep 20, 2007 at 07:33:39PM -0700, Ryan Freeman wrote: > > > > > when it comes to investigating. what I can provide is my soundcard: > > > > > > > > auich0 at pci0 dev 31 function 5 "Intel 82801CA/CAM AC97" rev 0x02: irq > > > > 11, ICH3 AC97 > > > > audio0 at auich0 > > > > auich0: measured ac97 link rate at 47999 Hz, will use 48000 Hz > > > > > > one piece of information missing here, the AC97 codec. > > > > > > > here tis: > > ac97: codec id 0x43525936 (Cirrus Logic CS4299 rev 6) > > ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D > > thanks > > > > > and my cpu: > > > > > > > > cpu0: Intel(R) Pentium(R) III Mobile CPU 1133MHz ("GenuineIntel" > > > > 686-class) 1.14 GHz > > > > cpu0: > > > > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE > > > > > > probably fast enough to rule out resource problems. > > > > my previous thinkpad was a 600x, which had a 500mhz cpu and i was able to > > play > > zsnes fine there with sound as well (i think i may have had it turnedd down > > to 22050hz, though) yeah frameskip may have been used but sound worked quite > > well. > > OK > > just a little more info, please :) > > does the static go away if you set the sampling rate to 48000? >
well i decided to be spontaneous and upgrade via the diff (thinking we're using the same ver now). anyway i find with -ad sun it only outputs anything for about 3 seconds (meaning i have to open a rom fast or i will not hear anything at all). -ad sdl gives same results as previous 1.42 build. setting to 48000 still has static, though i did notice the 'waves' seemed to get closer together and it did seem a big clearer.. > and if that doesn't work, can you send me the output of 'audioctl -a' > when you start hearing static? appended to the bottom :) > > oh, and you said zsnes got worse. was is a little staticy before and > more now, or was there no such static before? > yes actually, this is the part where i was meaning to mention to you when you originally made the sdl patch etc. the sound in zsnes was good enough that it actually had next to no static (a little bit here and there but seemed random) however, the games seem smoother now, as if before the audio was holding it up. still a step in the right direction, no? -ryan ([EMAIL PROTECTED]:~) audioctl -a (11:06PM/506/ttyp5) name=ICH3 AC97 version=0x02 config=auich0 encodings=ulinear:8,mulaw:8*,alaw:8*,slinear:8*,slinear_le:16,ulinear_le:16*,slinear_be:16*,ulinear_be:16* properties=full_duplex,mmap,independent full_duplex=0 fullduplex=0 blocksize=9600 hiwat=6 lowat=4 monitor_gain=0 mode=play play.rate=48000 play.channels=2 play.precision=16 play.encoding=slinear_le play.gain=207 play.balance=32 play.port=0x0 play.avail_ports=0x0 play.seek=28800 play.samples=3964800 play.eof=0 play.pause=0 play.error=0 play.waiting=0 play.open=1 play.active=1 play.buffer_size=65536 record.rate=8000 record.channels=1 record.precision=8 record.encoding=mulaw record.gain=191 record.balance=32 record.port=0x1 record.avail_ports=0x7 record.seek=0 record.samples=0 record.eof=0 record.pause=0 record.error=0 record.waiting=0 record.open=0 record.active=0 record.buffer_size=32768 record.errors=0