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: > > On Fri, Sep 21, 2007 at 01:29:37AM +0000, Jacob Meuser wrote: > > > > > > > hmmm, "Street Fighter II" is working nicely for me with a default > > > install of zsnes. CPU is 1.84 GHz Athlon, soundcard is SoundBlaster > > > Live!. > > > > > > there is some strangeness in the zsnes audio code. it intentionally > > > uses a different audio buffer size than SDL reports. why, I don't > > > know. this could potentially be a problem with certain hardware. > > > > > > I also see zsnes using almost all available CPU. > > > > > > what CPU and soundcard are you using? > > > > > > > i kinda figured it would be more related to zsnes code than openbsd, since > > it > > is the only offending application, but as i am no programmer i am of little > > use > > 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 > > 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. > > have you tried zsnes both with and without the -se option ? does it > make any difference? it seems at least part of the buffer size scaling > has to do with this option. > I just checked this out. it seems (still running 1.42 in this instance) that the -se option is enabled by default. checking the sound option page there was only an option to disable SPC emulation (is this different than the command-line option?) i tried both ways, with disable spc the sound was a bit better, but still 'staticy' and it seems to get worse/better in consistent waves. -ryan