Comments (4)
The real problem is that the WMP API is the thing that is changing the mixer volume. When I started using it, I thought it had an internal mixer and did not realize it modified the Windows mixer for the host program. This should have the side effect of changing the volume of one sound mid-way through if the types change. Obviously this isn't great.
I'm suspicious that this reported issue is also related to how WMP alters the Windows Mixer and does it haphazardly. Other sound APIs do not change the host process mixer volume.
I imagine using TTS in SAPI direct mode should not have this bug occur because WMP will no longer be called for TTS at all.
from advancedcombattracker.
I think this bug wouldn't happen in SAPI mode regardless because of this:
if (pszSound.EndsWith("sapi.wav"))
this.PlaySoundMethod(pszSound, this.opSound.tbarTtsVol.Value);
else
this.PlaySoundMethod(pszSound, this.opSound.tbarWavVol.Value);
If this works how I think it does, TTS is supposed to set the volume to the selected TTS volume setting, but this code path is only used when playing TTS via SAPI?
from advancedcombattracker.
Direct SAPI does not use PlaySound()
at all... so WAV files would go to the else.
from advancedcombattracker.
This and other problems would be fixed if ACT no longer used WMP as the default sound engine. ACT does not change the volume mixer, the WMP API does.
WMP API was attractive because it was preinstalled on every version of Windows. There may be newer options that are similarly ubiquitous, but I would have to do a bit of research.
from advancedcombattracker.
Related Issues (20)
- (EQ2) Event Handler Unhandled Exceptions - Post update 14/04/2022 HOT 3
- no overlay HOT 3
- No Overlay In-game HOT 1
- Several Instances??? Tabs?? I dont know how to word it but i only want one i dont know how to delete them HOT 2
- Some mouse buttons not working while using ACT HOT 4
- Feature Request to mitigate Edge Case Issue - Option to remove timer from Title Bar
- Encounter Separation HOT 1
- Custom Triggers Not Detecting Current Zone HOT 4
- Window does not maintain focus when alt-tabbing to ACT #291 HOT 1
- Custom Timer Start Sound tts not working HOT 3
- Request for Plugin ID HOT 3
- Tried Everything HOT 1
- ActLocalizations missing relative path in project directory
- ACT_Plugin project file missing relative path to default install directory of ACT application
- WMP API Sound audio does not play HOT 1
- Plugin ID request for Zone Change updater for EverQuest HOT 4
- EQRaidAllies plugin id request HOT 8
- ACT application fails to read open log file HOT 2
- Current plugin examples are all in a single directory with no CI or CD script HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from advancedcombattracker.