[Bug 22498] Stuttering sound when playing HoMM3

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 23 21:54:33 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=22498

--- Comment #30 from Raymond <superquad.vortex2 at gmail.com> 2010-12-23 21:54:32 CST ---
(In reply to comment #7)
> Do the changed times matter?
> 
> Also, multiple waveopens to the same device

The problem in your waveout.c 

 waveout_count = ALSA_WodNumDevs;

ALSA_WodNumDevs is the total numbers of playback device 0 of alsa sound cards

So you need at least two sound cards so that waveout_count > 1 for your
waveout.c to allow multiple open

if AutoScanDevices="Y", this will be the number of all playback devices (
including spdif, hdmi, ...) of alsa sound cards 



for hardware mixing sound cards, the therotical maximum number is the value
returned by snd_pcm_info_get_subdevice_count();

**** List of PLAYBACK Hardware Devices ****
card 0: Live [SBLive! Platinum [CT4760P]], device 0: emu10k1 [ADC
Capture/Standard PCM Playback]
  Subdevices: 32/32

however the practical number can be reduced when the other application is using
the WaveTable Synth 



you can try waveout.c in bug#22880  comment#4

which limit the maximum number of waveoutopen to 16

Allow multiple waveoutopen to the same device is depend on the result of
snd_pcm_open

Not sure wine can open "plug:dmix" or "pulse" device how many times ?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list