Plays an audio file (WAV,MP3,WMA a more ...)fileName.
Namespace:
SGP.BaltieAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
| C# |
|---|
public XAudioController PlayAudio( string fileName ) |
Parameters
- fileName
- Type: System..::.String
A music file.
Return Value
Returns the instance of XAudioController for manipulating with the music.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | fileName is nullNothingnullptra null reference (Nothing in Visual Basic). |