C# 클래스 SoundBoard.Audio.Player

파일 보기 프로젝트 열기: jormenjanssen/Soundboard 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
mciSendString ( string strCommand, StringBuilder strReturn, int iReturnLength, int bla ) : long

메소드 상세

Close() 공개 메소드

Stops currently playing audio file
public Close ( ) : void
리턴 void

IsPlaying() 공개 메소드

public IsPlaying ( ) : bool
리턴 bool

Open() 공개 메소드

Opens audio file to play
public Open ( string sFileName ) : void
sFileName string This is the audio file's path and filename
리턴 void

Pause() 공개 메소드

Pauses currently playing audio file
public Pause ( ) : void
리턴 void

Play() 공개 메소드

Plays selected audio file
public Play ( bool loop ) : void
loop bool If True,audio file will repeat
리턴 void

Player() 공개 메소드

Not much to conctruct here
public Player ( ) : System
리턴 System

Status() 공개 메소드

Returns the current status player: playing,paused,stopped etc.
public Status ( ) : string
리턴 string