soundPlayback
Class SoundCardPlayback
java.lang.Object
soundPlayback.SoundCardPlayback
- All Implemented Interfaces:
- PlaybackSystem
public class SoundCardPlayback
- extends java.lang.Object
- implements PlaybackSystem
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
soundCardDialogComponent
private soundCardDialogComponent soundCardDialogComponent
audioFormat
private javax.sound.sampled.AudioFormat audioFormat
sourceDataLine
private javax.sound.sampled.SourceDataLine sourceDataLine
rawAudio
byte[] rawAudio
SoundCardPlayback
public SoundCardPlayback(SoundCardSystem soundCardSystem)
getDialogComponent
public PlaybackDialogComponent getDialogComponent()
- Specified by:
getDialogComponent in interface PlaybackSystem
getMaxChannels
public int getMaxChannels()
- Specified by:
getMaxChannels in interface PlaybackSystem
getName
public java.lang.String getName()
- Specified by:
getName in interface PlaybackSystem
prepareSystem
public boolean prepareSystem(PlaybackControl playbackControl,
int nChannels,
float sampleRate)
- Specified by:
prepareSystem in interface PlaybackSystem
unPrepareSystem
public boolean unPrepareSystem()
- Specified by:
unPrepareSystem in interface PlaybackSystem
playData
public boolean playData(RawDataUnit[] data)
- Specified by:
playData in interface PlaybackSystem