任务单 #34732

Sync difference between DSound and others

开放日期: 2014-12-23 16:29 最后更新: 2015-01-01 00:04

报告人:
属主:
类型:
状态:
关闭
组件:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
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.)

任务单历史 (3/14 Histories)

2014-12-23 16:30 Updated by: yyagi
  • New Ticket "Sync difference between DSound and others" created
2014-12-23 16:38 Updated by: yyagi
评论

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 Updated by: beatme
评论

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 Updated by: None
评论

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 Updated by: beatme
评论

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 Updated by: yyagi
评论

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 Updated by: beatme
评论

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 Updated by: yyagi
评论

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 Updated by: yyagi
评论

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 Updated by: beatme
评论

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 Updated by: yyagi
评论

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

2014-12-28 12:07 Updated by: beatme
评论

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

2014-12-28 12:51 Updated by: yyagi
  • 处理结果 Update from to Fixed
评论

good news. thanks for testing.

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

2015-01-01 00:04 Updated by: yyagi
  • 状态 Update from 开启 to 关闭
  • Ticket Close date is changed to 2015-01-01 00:04
评论

Implemented in the Release101.

Attachment File List

No attachments

编辑

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