Method | Description | |
---|---|---|
Close ( ) : void |
Stops currently playing audio file
|
|
IsPlaying ( ) : bool | ||
Open ( string sFileName ) : void |
Opens audio file to play
|
|
Pause ( ) : void |
Pauses currently playing audio file
|
|
Play ( bool loop ) : void |
Plays selected audio file
|
|
Player ( ) : System |
Not much to conctruct here
|
|
Status ( ) : string |
Returns the current status player: playing,paused,stopped etc.
|
Method | Description | |
---|---|---|
mciSendString ( string strCommand, StringBuilder strReturn, int iReturnLength, int bla ) : long |
public Open ( string sFileName ) : void | ||
sFileName | string | This is the audio file's path and filename |
return | void |
public Play ( bool loop ) : void | ||
loop | bool | If True,audio file will repeat |
return | void |