soundPlayback
Class FilePlaybackDialogComponent

java.lang.Object
  extended by soundPlayback.PlaybackDialogComponent
      extended by soundPlayback.FilePlaybackDialogComponent

public class FilePlaybackDialogComponent
extends PlaybackDialogComponent


Nested Class Summary
(package private)  class FilePlaybackDialogComponent.DefSampleRateAction
           
private  class FilePlaybackDialogComponent.NewDeviceType
           
 
Field Summary
private  javax.swing.JCheckBox defaultRate
           
private  javax.swing.JComboBox deviceTypes
           
private  FilePlayback filePlayback
           
private  javax.swing.JPanel panel
           
private  PlaybackControl playbackControl
           
private  PlaybackParameters playbackParameters
           
private  javax.swing.JTextField sampleRate
           
private  javax.swing.JComboBox soundCards
           
 
Constructor Summary
FilePlaybackDialogComponent(FilePlayback filePlayback)
          Dialog component for sound playback when input is from a file.
 
Method Summary
 void fillDeviceSpecificList()
           
(package private)  java.awt.Component getComponent()
          Get the graphics component to be included in the playback dialog
(package private)  PlaybackParameters getParams(PlaybackParameters playbackParameters)
          Get teh parameters from the dialog component
(package private)  void saySampleRate()
           
(package private)  void setParams(PlaybackParameters playbackParameters)
          Set the parameters in the dialog component
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

panel

private javax.swing.JPanel panel

playbackControl

private PlaybackControl playbackControl

deviceTypes

private javax.swing.JComboBox deviceTypes

soundCards

private javax.swing.JComboBox soundCards

defaultRate

private javax.swing.JCheckBox defaultRate

sampleRate

private javax.swing.JTextField sampleRate

filePlayback

private FilePlayback filePlayback

playbackParameters

private PlaybackParameters playbackParameters
Constructor Detail

FilePlaybackDialogComponent

public FilePlaybackDialogComponent(FilePlayback filePlayback)
Dialog component for sound playback when input is from a file.

Have now implemented a system whereby playback can be over a number of device types. For now this will be sound cards and NI cards so that we can generate real audio data at V high frequency for some real time testing.

Playback from file is easy since there is no need to synchronise dound input with sound output.

Parameters:
playbackControl -
Method Detail

getComponent

java.awt.Component getComponent()
Description copied from class: PlaybackDialogComponent
Get the graphics component to be included in the playback dialog

Specified by:
getComponent in class PlaybackDialogComponent
Returns:

getParams

PlaybackParameters getParams(PlaybackParameters playbackParameters)
Description copied from class: PlaybackDialogComponent
Get teh parameters from the dialog component

Specified by:
getParams in class PlaybackDialogComponent
Returns:
PlaybackParameters or null.
See Also:
PlaybackParameters

setParams

void setParams(PlaybackParameters playbackParameters)
Description copied from class: PlaybackDialogComponent
Set the parameters in the dialog component

Specified by:
setParams in class PlaybackDialogComponent

fillDeviceSpecificList

public void fillDeviceSpecificList()

saySampleRate

void saySampleRate()