Package nidaqdev
Class NIPlaybackSystem
java.lang.Object
soundPlayback.PlaybackSystem
nidaqdev.NIPlaybackSystem
Playback system to use when acquiring data from NI cards.
- Author:
- Doug Gillespie
-
Field Summary
Fields inherited from class soundPlayback.PlaybackSystem
changeObservers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the swing component for the playback system.int
getName()
boolean
playData
(RawDataUnit[] data, double gain) boolean
prepareSystem
(PlaybackControl playbackControl, int nChannels, float sampleRate) boolean
Methods inherited from class soundPlayback.PlaybackSystem
addChangeObserver, getDeviceState, mustSameIOSampleRate, notifyObservers, removeChangeObserver
-
Constructor Details
-
NIPlaybackSystem
- Parameters:
niDaqProcess
-
-
-
Method Details
-
getDialogComponent
Description copied from class:PlaybackSystem
Get the swing component for the playback system.- Specified by:
getDialogComponent
in classPlaybackSystem
- Returns:
- the swing component for the playback system.
-
getMaxChannels
public int getMaxChannels()- Specified by:
getMaxChannels
in classPlaybackSystem
-
getName
- Specified by:
getName
in classPlaybackSystem
- Returns:
- System name
-
playData
- Specified by:
playData
in classPlaybackSystem
-
prepareSystem
- Specified by:
prepareSystem
in classPlaybackSystem
-
unPrepareSystem
public boolean unPrepareSystem()- Specified by:
unPrepareSystem
in classPlaybackSystem
-
getDeviceName
- Overrides:
getDeviceName
in classPlaybackSystem
- Returns:
- the name of the actual playback device
-
getSettingsPane
- Specified by:
getSettingsPane
in classPlaybackSystem
- Returns:
-