#1961 closed enhancement (fixed)
Add UI sound type and suitable API to sound manager
Reported by: | historic_bruno | Owned by: | stwf |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 14 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
We need a way to play UI sounds (e.g. button clicks #948) with a separate gain so the player can mute them independently if they choose. They can't really be lumped into music, ambient, or action sounds.
There should be simple C++ and JS APIs for playing these sounds, and it should work independently of the simulation. In particular, GUI code shouldn't have to manage the sound data, but it should be cached in the sound manager for efficiency. A single function like PlayUISound(filename)
would be nice.
Change History (2)
comment:1 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 11 years ago
Milestone: | Backlog → Alpha 14 |
---|
Note:
See TracTickets
for help on using tickets.
This should now be included in the latest svn revision