Creates new audio controller for working with sound.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
[DefaultMethodAttribute] public XAudioController AddAudio( string fileName ) |
Parameters
- 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). |