C# 클래스 javazoom.jl.player.Player

The Player class implements a simple player for playback of an MPEG audio stream.
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 메소드들

메소드 설명
Player ( System stream ) : System

Creates a new Player instance.

Player ( System stream, AudioDevice device ) : System
close ( ) : void

Cloases this player. Any audio currently playing is stopped immediately.

play ( int frames ) : bool

Plays a number of MPEG audio frames.

play ( ) : void

보호된 메소드들

메소드 설명
decodeFrame ( ) : bool

Decodes a single frame.

메소드 상세

Player() 공개 메소드

Creates a new Player instance.
public Player ( System stream ) : System
stream System
리턴 System

Player() 공개 메소드

public Player ( System stream, AudioDevice device ) : System
stream System
device AudioDevice
리턴 System

close() 공개 메소드

Cloases this player. Any audio currently playing is stopped immediately.
public close ( ) : void
리턴 void

decodeFrame() 보호된 메소드

Decodes a single frame.
protected decodeFrame ( ) : bool
리턴 bool

play() 공개 메소드

Plays a number of MPEG audio frames.
public play ( int frames ) : bool
frames int
리턴 bool

play() 공개 메소드

public play ( ) : void
리턴 void