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
- ·
channels
- The number of channels.
- ·
deviceName
- The name of the device to use or
null
to use any
available device.
- ·
sampleRate
- The sampling rate.
Constructor Index
- ·
AudioPlayerInfo()
-
Method Index
- ·
getChannels()
- Get number of channels.
- ·
getDeviceName()
- Get the name of the device.
- ·
getSampleRate()
- Get sample rate of player.
- ·
matchesPlayer(AudioPlayerInfo)
-
- ·
propertyLoad(Properties, String)
-
- ·
setChannels(int)
- Set number of channels.
- ·
setDeviceName(String)
- Set the name of the device.
- ·
setSampleRate(double)
- Set output sample rate.
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.
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.
·
getChannels
public int getChannels()
- Get number of channels.
- Returns:
- number of channels.
·
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.
·
matchesPlayer
public boolean matchesPlayer(AudioPlayerInfo p)
·
propertyLoad
public void propertyLoad(Properties p,
String name) throws IllegalArgumentException
All Packages Class Hierarchy This Package Previous Next Index