public enum Audio extends Enum<Audio>
Enum Constant and Description |
---|
COMPARE_MP3
Java Sound API plus play-back of MP3 recording.
|
LIVE_MP3
Java Sound API plus MP3 file write.
|
LIVE_MP4
MP4 file write.
|
LIVE_WAV
Java Sound API plus WAV file write.
|
MP3
MP3 file write.
|
MP4
MP4 file write.
|
SOUNDCARD
Java Sound API.
|
WAV
WAV file write.
|
Modifier and Type | Method and Description |
---|---|
AudioDriver |
getAudioDriver()
Get audio driver.
|
AudioDriver |
getAudioDriver(IAudioSection audioSection,
SidTune tune)
Get audio driver for tune.
|
String |
getExtension() |
boolean |
isRecording() |
static Audio |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Audio[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Audio SOUNDCARD
public static final Audio WAV
public static final Audio MP3
public static final Audio MP4
public static final Audio LIVE_WAV
public static final Audio LIVE_MP3
public static final Audio LIVE_MP4
public static final Audio COMPARE_MP3
public static Audio[] values()
for (Audio c : Audio.values()) System.out.println(c);
public static Audio valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isRecording()
public String getExtension()
public final AudioDriver getAudioDriver()
public final AudioDriver getAudioDriver(IAudioSection audioSection, SidTune tune)
audioSection
- configurationtune
- SID tuneCopyright © 2018 Ken Händel. All rights reserved.