• Ove Kaaven's avatar
    Tweaks to improve playback performance and reduce sound glitches: · 9fd3538b
    Ove Kaaven authored
    - wodGetPosition does not send an update message to the player thread;
    this reduces the accuracy of the readout from byte-accuracy to near
    fragment-accuracy, but we save 2-4 context switches and kernel
    scheduling penalties.
    - if FeedDSP runs out of data, do not flush output buffers before
    notifications are sent and given the chance to provide more sound data.
    Do not flush before we're down to the last fragment.
    - messages to the player thread are signaled using Unix pipes instead
    of Win32 synchronization primitives, to avoid having the player thread
    wait for the wineserver (and context switches from/to it) before the
    it can feed more data to the sound card.
    - ring buffer size is increased from 30 to 192 to support some games
    that fires 128 messages at once to determine DMA buffer size.
    9fd3538b
Name
Last commit
Last update
..
joystick Loading commit data...
mcianim Loading commit data...
mciavi Loading commit data...
mcicda Loading commit data...
mciseq Loading commit data...
mciwave Loading commit data...
midimap Loading commit data...
wavemap Loading commit data...
winealsa Loading commit data...
winearts Loading commit data...
wineaudioio Loading commit data...
winenas Loading commit data...
wineoss Loading commit data...
.cvsignore Loading commit data...
Makefile.in Loading commit data...
driver.c Loading commit data...
joystick.c Loading commit data...
lolvldrv.c Loading commit data...
mci.c Loading commit data...
mmio.c Loading commit data...
mmsystem.c Loading commit data...
mmsystem.spec Loading commit data...
sound.spec Loading commit data...
sound16.c Loading commit data...
time.c Loading commit data...
winemm.h Loading commit data...
winmm.spec Loading commit data...
winmm_En.rc Loading commit data...
winmm_Es.rc Loading commit data...
winmm_Fr.rc Loading commit data...
winmm_Nl.rc Loading commit data...
winmm_Pt.rc Loading commit data...
winmm_Ru.rc Loading commit data...
winmm_Si.rc Loading commit data...
winmm_Sk.rc Loading commit data...
winmm_res.rc Loading commit data...