-
Notifications
You must be signed in to change notification settings - Fork 26
Sound management
Alessandro Febretti edited this page Feb 8, 2014
·
4 revisions
These global functions are used to handle the sound environment.
- Full documentation: Omicron SoundAPI Reference
Returns an instance of the SoundEnvironment
class if sound support is available on the system. Return None
otherwise. On cluster systems with sound enabled, this function returns a valid SoundEnvironment
instance only on the master node. Slave nodes do not have a sound interface. To create cluster-aware code users should skip sound code in their scripts when sound is disabled (for instance with an if(isSoundEnabled()):
block.
For more information on sound support check the omicron Sound Reference Page
Returns True
if sound is enabled and available on the system. On cluster systems with sound enabled, this function returns true only on the head node.