Creates new audio controller for working with sound.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
public XAudioController AddAudio( Object audioIndex, string fileName ) |
Parameters
- audioIndex
- Type: System..::.Object
Key for accessing the audio.
- fileName
- Type: System..::.String
Audio file.
Return Value
Returns the XAudioController audio controller.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | fileName is nullNothingnullptra null reference (Nothing in Visual Basic). |