|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSoundRecorder.RecorderSettings
public class RecorderSettings
Control parameters for sound recorders.
| Field Summary | |
|---|---|
(package private) int |
autoDuration
Duration of automatic recordings in seconds |
(package private) int |
autoInterval
Number of seconds between automatic recordings |
(package private) boolean |
autoStart
If PAMGAURD stops and starts, automatically put the recorder back into the same mode it was in when acquisition stopped. |
(package private) int |
bitDepth
bit depth (NOT Byte depth) of the recording format. |
(package private) int |
bufferLength
Lenght of the buffered data to store |
(package private) int |
channelBitmap
Bitmap of channels to be saved (need not be all available channels) |
(package private) boolean |
enableBuffer
Buffer data so that it can be added to the start of a file |
(package private) boolean[] |
enableTrigger
Enable triggers (from detectors). |
(package private) java.lang.String |
fileInitials
Initials to add to the start of a file name, the rest of which is made up from the date. |
private java.lang.String |
fileType
Unfortunately AudioFileFormat.Type is not serialized, so store as a string and have getters and setters to sort out the mess |
(package private) boolean |
limitLengthMegaBytes
Limit the maximum length of a single file in Mega bytes |
(package private) boolean |
limitLengthSeconds
Limit the maximum length of a single file in seconds |
(package private) long |
maxLengthMegaBytes
Maximum length of a single file in Mega bytes |
(package private) int |
maxLengthSeconds
Maximum length of a single file in seconds |
(package private) int |
oldStatus
Memorised status for autoStart |
(package private) java.lang.String |
outputFolder
Output folder for recording files |
java.lang.String |
rawDataSource
Name of the raw data source |
static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
RecorderSettings()
|
|
| Method Summary | |
|---|---|
protected RecorderSettings |
clone()
|
javax.sound.sampled.AudioFileFormat.Type |
getFileType()
Since AudioFileFormat.Type is not serialized, fileType is stored as a sting. |
void |
setFileType(javax.sound.sampled.AudioFileFormat.Type fileType)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
public java.lang.String rawDataSource
int channelBitmap
int bitDepth
boolean enableBuffer
int bufferLength
java.lang.String outputFolder
java.lang.String fileInitials
private java.lang.String fileType
int autoInterval
int autoDuration
int maxLengthSeconds
boolean limitLengthSeconds
long maxLengthMegaBytes
boolean limitLengthMegaBytes
boolean[] enableTrigger
boolean autoStart
int oldStatus
autoStart| Constructor Detail |
|---|
RecorderSettings()
| Method Detail |
|---|
protected RecorderSettings clone()
clone in class java.lang.Objectpublic javax.sound.sampled.AudioFileFormat.Type getFileType()
AudioFormatpublic void setFileType(javax.sound.sampled.AudioFileFormat.Type fileType)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||