Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

フェードイン時間がblankFrameより小さい時にタイミングがずれる問題を修正 #192

Merged
merged 1 commit into from Feb 12, 2019

Conversation

suzme
Copy link
Contributor

@suzme suzme commented Feb 11, 2019

変更内容

開始位置、楽曲再生位置の設定の条件式を修正しました。

変更理由

issue #176

その他コメント

他にもずれるケースがあるので完全解決ではないのですが、fadein 1%で大きくずれるのは直ったと思います。

@cwtickle
Copy link
Owner

cwtickle commented Feb 11, 2019

ありがとうございます!
まだ細かいところは未確認ですが、次まで簡素化できそうな気がします。

	const musicStartFrame = firstFrame + g_headerObj.blankFrame;
	g_audio.volume = 0;

@suzme
Copy link
Contributor Author

suzme commented Feb 11, 2019

試してみましたが、g_audio.volume=0としてしまうとfadein 0%時にもフェードインしてしまいます。
musicStartFrameは修正しました。

@cwtickle
Copy link
Owner

了解です、フェードイン0%見落とすところでした。。
確認ありがとうございます m(_ _)m
帰ったらマージしますー

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants