Package asiojni
Class ASIOFilePlaybackSystem
java.lang.Object
asiojni.ASIOFilePlaybackSystem
- All Implemented Interfaces:
 FilePlaybackDevice
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionString[]Get device status information.getName()intgetNumPlaybackChannels(int devNum) Get's the number of playback channels for a given device.Get a settings panel for additional options.booleanplayData(RawDataUnit[] data) Play some data.booleanpreparePlayback(PlaybackParameters playbackParameters) Prepare playbackbooleanStop playback, clean up buffers, etc.voidsummariseDevice(String deviceName) voidvoidswitchBuffers(Set<com.synthbot.jasiohost.AsioChannel> activeChannels) Called from the ASIOCallback.bufferSwitch(); 
- 
Constructor Details
- 
ASIOFilePlaybackSystem
 
 - 
 - 
Method Details
- 
getDeviceNames
- Specified by:
 getDeviceNamesin interfaceFilePlaybackDevice- Returns:
 - a list of device names
 
 - 
getNumPlaybackChannels
public int getNumPlaybackChannels(int devNum) Description copied from interface:FilePlaybackDeviceGet's the number of playback channels for a given device.- Specified by:
 getNumPlaybackChannelsin interfaceFilePlaybackDevice- Parameters:
 devNum- device number- Returns:
 - number of channels
 
 - 
preparePlayback
Description copied from interface:FilePlaybackDevicePrepare playback- Specified by:
 preparePlaybackin interfaceFilePlaybackDevice- Parameters:
 playbackParameters- parameters- Returns:
 - true if all Ok. S
 
 - 
SummariseDevices
public void SummariseDevices() - 
summariseDevice
 - 
stopPlayback
public boolean stopPlayback()Description copied from interface:FilePlaybackDeviceStop playback, clean up buffers, etc.- Specified by:
 stopPlaybackin interfaceFilePlaybackDevice- Returns:
 - true if all cleaned up Ok.
 
 - 
getName
- Specified by:
 getNamein interfaceFilePlaybackDevice- Returns:
 - a name for this type of playback device
 
 - 
getDeviceName
- Specified by:
 getDeviceNamein interfaceFilePlaybackDevice
 - 
playData
Description copied from interface:FilePlaybackDevicePlay some data. The length of the data array must correspond to the number of channels.- Specified by:
 playDatain interfaceFilePlaybackDevice- Parameters:
 data- array of raw audio data units.- Returns:
 - true if played OK.
 
 - 
switchBuffers
Called from the ASIOCallback.bufferSwitch();- Parameters:
 activeChannels2-
 - 
getDeviceState
Description copied from interface:FilePlaybackDeviceGet device status information.- Specified by:
 getDeviceStatein interfaceFilePlaybackDevice- Returns:
 
 - 
getSettingsPanel
Description copied from interface:FilePlaybackDeviceGet a settings panel for additional options. Can be null.- Specified by:
 getSettingsPanelin interfaceFilePlaybackDevice- Returns:
 - settings panel or null for additional options.
 
 
 -