All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.player.AudioPlayerInfo

java.lang.Object
   |
   +----guinea.player.AudioPlayerInfo

public class AudioPlayerInfo
extends Object
implements Serializable, PropertyLoader

Variable Index

· buflen
Buffer length for soundplayer.
· channels
The number of channels.
· deviceName
The name of the device to use or null to use any available device.
· isVirtualPlayer
· options
Additional options to player.
· parentPlayerName
· sampleRate
The sampling rate.
· startChannel
The index on first channel for use with virtual player.

Constructor Index

· AudioPlayerInfo()

Method Index

· getBufLen()
Get audio buffering length.
· getChannels()
Get number of channels.
· getDeviceName()
Get the name of the device.
· getOptions()
· getParentPlayerName()
· getSampleRate()
Get sample rate of player.
· getStartChannel()
Get start channel.
· isVirtualPlayer()
· matchesPlayer(AudioPlayerInfo)
· paramString()
· propertyLoad(Properties, String)
· setChannels(int)
Set number of channels.
· setChannels(int, int)
Set number of channels.
· setDeviceName(String)
Set the name of the device.
· setOptions(String)
· setSampleRate(double)
Set output sample rate.
· toString()
Returns a string representation of the object.

Variables

· deviceName
 public String deviceName
The name of the device to use or null to use any available device.

· channels
 public int channels
The number of channels.

· sampleRate
 public double sampleRate
The sampling rate.

· startChannel
 public int startChannel
The index on first channel for use with virtual player.

· buflen
 public int buflen
Buffer length for soundplayer.

· parentPlayerName
 public String parentPlayerName
· isVirtualPlayer
 public boolean isVirtualPlayer
· options
 public String options
Additional options to player.

Constructors

· AudioPlayerInfo
 public AudioPlayerInfo()

Methods

· setSampleRate
 public void setSampleRate(double rate)
Set output sample rate.

Parameters:
rate - The sample rate in Hz.
· getSampleRate
 public double getSampleRate()
Get sample rate of player.

Returns:
sample rate in Hz.
· setChannels
 public void setChannels(int chan)
Set number of channels. The maximum number is limited by the used.

Parameters:
chan - Number of channels.
· setChannels
 public void setChannels(int chan,
                         int start)
Set number of channels. The maximum number is limited by the used.

Parameters:
chan - Number of channels.
start - Starting channel.
· getChannels
 public int getChannels()
Get number of channels.

Returns:
number of channels.
· getStartChannel
 public int getStartChannel()
Get start channel.

Returns:
The start channel number.
· getDeviceName
 public String getDeviceName()
Get the name of the device.

Returns:
A device name.
· setDeviceName
 public void setDeviceName(String devName)
Set the name of the device.

Parameters:
devName - A device name.
· getBufLen
 public int getBufLen()
Get audio buffering length.

Returns:
Length of audio buffer.
· setOptions
 public void setOptions(String opts)
· getOptions
 public String getOptions()
· isVirtualPlayer
 public boolean isVirtualPlayer()
· getParentPlayerName
 public String getParentPlayerName()
· matchesPlayer
 public boolean matchesPlayer(AudioPlayerInfo p)
· propertyLoad
 public void propertyLoad(Properties p,
                          String name) throws IllegalArgumentException
· paramString
 protected String paramString()
· toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index