-
Notifications
You must be signed in to change notification settings - Fork 608
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
Play bootSound.btsnd while shaders/pipelines are compiling #1047
base: main
Are you sure you want to change the base?
Conversation
99aef27
to
cab8a1f
Compare
Tested on Windows but I hear nothing from bootSound.btsnd, is this option enabled by default? |
And I found another bug. XAudio2 does not work properly with this PR no matter what latency you set it to |
a8c6853
to
da9c3c8
Compare
Latest version should work on all API's and latency settings. |
The audio drop out is definitely a problem that could make your PR get blocked from merging (I say could, because I am not a maintainer). Is there a way to make the audio fade out smoothly without complicating the code? |
I may have overstated how bad of an issue it is. Going from sound to silence like that happens every time you pause a YouTube video. So I recon anyone dealing with audio systems that could actually be damaged from that knows to be extra careful when hooking up computer software to it. Main concerns are the fact that it's unexpected and unpolished. |
I see, makes sense. I was a little worried with the issue but I see what you mean now |
Any plans about reviews/merges for this PR? |
5087e87
to
a143556
Compare
m_wfx.Format.nBlockAlign = (m_wfx.Format.nChannels * m_wfx.Format.wBitsPerSample) / 8; // must equal (nChannels × wBitsPerSample) / 8 | ||
m_wfx.Format.nAvgBytesPerSec = m_wfx.Format.nSamplesPerSec * m_wfx.Format.nBlockAlign; // must equal nSamplesPerSec × nBlockAlign. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed these characters to UTF-8. These were the only non-UTF8 characters in the file but GitHub doesn't detect encoding changes.
is this ever getting merged?? 🫤 |
# Conflicts: # src/config/CemuConfig.h
Any updates on this PR? |
# Conflicts: # src/gui/GeneralSettings2.cpp
Can you add a fade-out effect instead of abruptly stopping the audio? Similar to how it is on console: |
implementation of the suggestion in issue #1045
In the process I also ended up removing some duplicate code in the way that audio initialises.