Sync difference between DSound and others
Would you try to replace bgm file to this? tp://yyagi.com/bgm_d.wav tp://yyagi.com/bgm_d.ogg
(One is simply decoded RIFF chunked vorbis file into raw wav file. Another oen is converted into ogg file)
I tested and it seems both are OK, for WASAPI/ASIO. Would you try it on your side?
If it's OK on your side too, it means the BASS library doesn't handle the RIFF chunked Vorbis file well (Sorry I've tested "Riff chunked mp3" before, but not vorbis), and I'll fix it by not using BASS to decode RIFF chunked vorbis.
It seems like both RIFF WAVE and .ogg Vorbis are good with WASAPI. Is there a difference for you, too? (wave ogg vorbis / ogg vorbis)
Good news. in my side, both are good, too.
Then, pleasy try it; tp://yyagi.com/DTXManiaGR_34732.zip with your original bgm_d.wav.
This test module internaly decode RIFF chunked vorbis into raw wave before playing. If this module works fine for you, I'll adopt it.
As far as I can see, everything is in sync with that version.
Thanks for fixing.
By the way, will there still be a non-widescreen version of DTXMania? I find the stretched playing screen a little confusing.
please try this (099 based fix) tp://yyagi.com/DTXMania099c_34732.zip
if your check result is OK, I'll also include this fix into 099 series.
The sync is fixed in that version as well.
Although, I've found a different bug in these versions (DTXManiaGR_34732.zip and DTXMania099c_34732.zip).
WASAPI/ASIO appear to be case-sensitive for filenames, I have DTXs that use upper-case extensions while the actual files are lower-case, and it doesn't play them.
Thanks for your testing.
About filename-case, would you send me sample file to reproduce the issue? Though I tried it by myself, but I could not repro it. (I use Win8.1 x64)
About case-sensitive issue.
Though I don't repro the issue yet, I did some quick fix about it. Would you try it? tp://yyagi.com/caseless.zip
(Note: before you try to use it, you need to rename exe to proper one first)
If the test result is NG, please send me the sample data to repro the issue.
It isn't fixed in these executables.
Test file: tps://www.mediafire.com/?4x5znldy4u5dc4v
bgm works, keysounds do not.
(In WASAPI/ASIO, DSound everything works correctly.)
Sorry, I missed file to be replaced. plz try this; tp://yyagi.com/FDK_caseless.zip
Yes, with those it appears to be fixed, thanks.
good news. thanks for testing.
I'll implement these fix to the official version (101/099c) soon.
Implemented in the Release101.
Derived from #34712
Although there is a different problem with WASAPI/ASIO, the bgm is not synchronised anymore. It's playing too early. (By a small amount) (Tested bgm is Ogg vorbis WAVE)
What could this be related to? They both have it. For ASIO, I use ASIO4ALL v2.
Sync is good for DSound.
However, when choosing WASAPI (or ASIO), the timing seems to be AFTER the peak. (So the chips will be after the BGM) In the song's BGM, at this point there is a kind of snare click sound (in pairs of two, twice per measure), so it's easy to hear if it's too early. I've tried changing the settings, but it did not change anything. (UseOSTimer was always off, AdjustWaves doesn't seem to change anything.)