Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 stwf, 11 years ago

Resolution: fixed
Status: newclosed

This should now be included in the latest svn revision

comment:2 by B. Guns, 11 years ago

Milestone: BacklogAlpha 14
Note: See TracTickets for help on using tickets.