Ticket #34732

Sync difference between DSound and others

Eröffnet am: 2014-12-23 16:29 Letztes Update: 2015-01-01 00:04

Auswertung:
Verantwortlicher:
Typ:
Status:
Geschlossen
Komponente:
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Gefixt
Datei:
Keine
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

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.)

Ticket-Verlauf (3/14 Historien)

2014-12-23 16:30 Aktualisiert von: yyagi
  • New Ticket "Sync difference between DSound and others" created
2014-12-23 16:38 Aktualisiert von: yyagi
Kommentar

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.

2014-12-23 22:43 Aktualisiert von: beatme
Kommentar

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)

2014-12-26 01:53 Aktualisiert von: None
Kommentar

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.

2014-12-26 13:21 Aktualisiert von: beatme
Kommentar

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.

2014-12-27 08:28 Aktualisiert von: yyagi
Kommentar

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.

2014-12-27 12:48 Aktualisiert von: beatme
Kommentar

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.

2014-12-27 13:02 Aktualisiert von: yyagi
Kommentar

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)

2014-12-27 16:31 Aktualisiert von: yyagi
Kommentar

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.

2014-12-28 01:57 Aktualisiert von: beatme
Kommentar

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.)

2014-12-28 08:44 Aktualisiert von: yyagi
Kommentar

Sorry, I missed file to be replaced. plz try this; tp://yyagi.com/FDK_caseless.zip

2014-12-28 12:07 Aktualisiert von: beatme
Kommentar

Yes, with those it appears to be fixed, thanks.

2014-12-28 12:51 Aktualisiert von: yyagi
  • Lösung Update from Keine to Gefixt
Kommentar

good news. thanks for testing.

I'll implement these fix to the official version (101/099c) soon.

2015-01-01 00:04 Aktualisiert von: yyagi
  • Status Update from Offen to Geschlossen
  • Ticket Close date is changed to 2015-01-01 00:04
Kommentar

Implemented in the Release101.

Dateianhangliste

Keine Anhänge

Bearbeiten

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Anmelden