All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface guinea.player.VirtualPlayerSupport

public interface VirtualPlayerSupport
An extension to AudioPlayer interface for player classes that support creating virtual players.

See Also:
AudioPlayer, Player, SoundPlayer

Method Index

· allocateVirtualPlayer(AudioPlayerInfo)
Allocate a virtual audio player.
· freeVirtualPlayer(AudioPlayer)
Deallocate a virtual player.

Methods

· allocateVirtualPlayer
 public abstract AudioPlayer allocateVirtualPlayer(AudioPlayerInfo pinfo) throws PlayerException
Allocate a virtual audio player.

Parameters:
pinfo - Audio player information object that contains information about player to allocate.
Returns:
A virtual audio player.
Throws: PlayerException
When allocating virtual player fails.
· freeVirtualPlayer
 public abstract void freeVirtualPlayer(AudioPlayer player)
Deallocate a virtual player.

Parameters:
player - Virtual player to deallocate.

All Packages  Class Hierarchy  This Package  Previous  Next  Index