C# Class javazoom.jl.player.Player

The Player class implements a simple player for playback of an MPEG audio stream.
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
decodeFrame ( ) : bool

Decodes a single frame.

Method Details

Player() public méthode

Creates a new Player instance.
public Player ( System stream ) : System
stream System
Résultat System

Player() public méthode

public Player ( System stream, AudioDevice device ) : System
stream System
device AudioDevice
Résultat System

close() public méthode

Cloases this player. Any audio currently playing is stopped immediately.
public close ( ) : void
Résultat void

decodeFrame() protected méthode

Decodes a single frame.
protected decodeFrame ( ) : bool
Résultat bool

play() public méthode

Plays a number of MPEG audio frames.
public play ( int frames ) : bool
frames int
Résultat bool

play() public méthode

public play ( ) : void
Résultat void