|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectaudio.modules.line.LineInterface
public class LineInterface
Needs work. Lots of it.
| Constructor Summary | |
|---|---|
LineInterface(javax.sound.sampled.Mixer.Info mixerInfo,
Logger logger)
|
|
| Method Summary | |
|---|---|
void |
close()
Shuts the interface down and frees any resources associated with it. |
java.lang.String |
getDescription()
Returns a description of the interface. |
java.lang.String |
getFriendlyName()
Returns a user defined interface name or null if the user has not changed it. |
java.lang.String |
getName()
Returns the name of the module. |
java.lang.String |
getPathToIcon()
Returns the path an image suitable for use as an icon. |
java.lang.String |
getType()
Returns the type of the interface - useful for writing specific display algorithms for specific instrument types |
java.lang.String |
getVendor()
Returns the interface vendor, |
java.lang.String |
getVersion()
Returns the version of the module. |
boolean |
isOpen()
Should return whether the interface is in a state where it can start transmitting data. |
void |
open()
Turns on the interface - it should then be in a state where it can start transmitting data. |
void |
receiveMessage(java.lang.Object[] arguments)
|
void |
sendMessage()
Send locally stored messages when called. |
void |
setFriendlyName(java.lang.String newName)
Used when the user changes the name of the interface in the audio processor GUI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineInterface(javax.sound.sampled.Mixer.Info mixerInfo,
Logger logger)
throws javax.sound.sampled.LineUnavailableException
javax.sound.sampled.LineUnavailableException| Method Detail |
|---|
public void sendMessage()
AudioInput
sendMessage in interface AudioInputpublic void receiveMessage(java.lang.Object[] arguments)
public void open()
AudioInput
open in interface AudioInputpublic boolean isOpen()
AudioInput
isOpen in interface AudioInputpublic void close()
AudioInput
close in interface AudioInputpublic java.lang.String getDescription()
AudioInput
getDescription in interface AudioInputpublic java.lang.String getName()
VDMModule
getName in interface VDMModulepublic java.lang.String getVendor()
AudioInput
getVendor in interface AudioInputpublic java.lang.String getVersion()
VDMModule
getVersion in interface VDMModulepublic void setFriendlyName(java.lang.String newName)
AudioInput
setFriendlyName in interface AudioInputpublic java.lang.String getFriendlyName()
AudioInput
getFriendlyName in interface AudioInputpublic java.lang.String getPathToIcon()
AudioInput
getPathToIcon in interface AudioInputpublic java.lang.String getType()
AudioInput
getType in interface AudioInput
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||