diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-21 19:52:06 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-21 19:52:06 +0000 |
commit | 6f210823899dfd7de608701da76625c64174a999 (patch) | |
tree | 3b87dbed177e3165f9796d336ab0d1118a0dafdf /game | |
parent | deba59815a59cc6857c72872b7ae5d6d332bcb48 (diff) | |
download | usdx-6f210823899dfd7de608701da76625c64174a999.tar.gz usdx-6f210823899dfd7de608701da76625c64174a999.tar.xz usdx-6f210823899dfd7de608701da76625c64174a999.zip |
- fixed UAudioPlayback_SoftMixer.GetPosition():
- previously it returned the position that would have been reached after ALL data that was returned at ReadData() was processed by the engine
- due to this the returned position did not change for about 40ms (with SDL, samples: 2048, 44.1kHz) and the position was too far ahead (40ms)
- this has been fixed by guessing the amount that is still buffered by the engine (SDL or portaudio)
- sync should work better now with SDL and portaudio (BASS is not affected by this patch)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2263 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'game')
0 files changed, 0 insertions, 0 deletions