public class IniAudioSection extends IniSection implements IAudioSection
iniReader
Constructor and Description |
---|
IniAudioSection(IniReader iniReader) |
Modifier and Type | Method and Description |
---|---|
Audio |
getAudio()
Getter of the audio to be used.
|
int |
getBufferSize()
Getter of the output buffer size.
|
int |
getDevice() |
float |
getMainBalance()
Getter of the main SID balance setting (0 - left, 1 - right speaker).
|
int |
getMainDelay()
Getter of the main SID delay setting (0 - no delay, 200 - 200ms delay).
|
float |
getMainVolume()
Getter of the main SID volume setting.
|
String |
getMp3File()
Getter of the recorded tune filename.
|
SamplingMethod |
getSampling()
Getter of the sampling method.
|
SamplingRate |
getSamplingRate()
Getter of the Playback/Recording frequency.
|
float |
getSecondBalance()
Getter of the second SID balance setting (0 - left, 1 - right speaker).
|
int |
getSecondDelay()
Getter of the second SID delay setting (0 - no delay, 200 - 200ms delay).
|
float |
getSecondVolume()
Getter of the second SID volume setting.
|
float |
getThirdBalance()
Getter of the third SID balance setting (0 - left, 1 - right speaker).
|
int |
getThirdDelay()
Getter of the third SID delay setting (0 - no delay, 200 - 200ms delay).
|
float |
getThirdVolume()
Getter of the third SID volume setting.
|
boolean |
isPlayOriginal()
Do we play the recording?
|
void |
setAudio(Audio audio)
Setter of the audio to be used.
|
void |
setBufferSize(int bufferSize)
Setter of the output buffer size.
|
void |
setDevice(int device) |
void |
setMainBalance(float balance)
Setter of the main SID balance setting (0 - left, 1 - right speaker).
|
void |
setMainDelay(int delay)
Setter of the main SID delay setting (0 - no delay, 200 - 200ms delay).
|
void |
setMainVolume(float volume)
Setter of the main SID volume setting.
|
void |
setMp3File(String recording)
Setter of the recorded tune filename.
|
void |
setPlayOriginal(boolean original)
Setter to play the recorded tune.
|
void |
setSampling(SamplingMethod method)
Setter of the sampling method.
|
void |
setSamplingRate(SamplingRate samplingRate)
Setter of the Playback/Recording frequency.
|
void |
setSecondBalance(float balance)
Setter of the second SID balance setting (0 - left, 1 - right speaker).
|
void |
setSecondDelay(int delay)
Setter of the second SID delay setting (0 - no delay, 200 - 200ms delay).
|
void |
setSecondVolume(float volume)
Setter of the second SID volume setting.
|
void |
setThirdBalance(float balance)
Setter of the third SID balance setting (0 - left, 1 - right speaker).
|
void |
setThirdDelay(int delay)
Setter of the third SID delay setting (0 - no delay, 200 - 200ms delay).
|
void |
setThirdVolume(float volume)
Setter of the third SID volume setting.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBalance, getDelay, getVolume
public IniAudioSection(IniReader iniReader)
public Audio getAudio()
IAudioSection
getAudio
in interface IAudioSection
public void setAudio(Audio audio)
IAudioSection
setAudio
in interface IAudioSection
audio
- audio to be usedpublic int getDevice()
getDevice
in interface IAudioSection
public void setDevice(int device)
setDevice
in interface IAudioSection
public final SamplingRate getSamplingRate()
getSamplingRate
in interface IAudioSection
public final void setSamplingRate(SamplingRate samplingRate)
setSamplingRate
in interface IAudioSection
samplingRate
- Playback/Recording frequencypublic final SamplingMethod getSampling()
getSampling
in interface IAudioSection
public final void setSampling(SamplingMethod method)
setSampling
in interface IAudioSection
method
- the sampling methodpublic final boolean isPlayOriginal()
isPlayOriginal
in interface IAudioSection
public final void setPlayOriginal(boolean original)
setPlayOriginal
in interface IAudioSection
original
- Play recorded (original) or emulated tunepublic final String getMp3File()
getMp3File
in interface IAudioSection
public final void setMp3File(String recording)
setMp3File
in interface IAudioSection
recording
- the recorded tune filenamepublic final float getMainVolume()
getMainVolume
in interface IAudioSection
public final void setMainVolume(float volume)
setMainVolume
in interface IAudioSection
volume
- the main SID volume settingpublic float getSecondVolume()
getSecondVolume
in interface IAudioSection
public void setSecondVolume(float volume)
setSecondVolume
in interface IAudioSection
volume
- the second SID volume settingpublic float getThirdVolume()
getThirdVolume
in interface IAudioSection
public void setThirdVolume(float volume)
setThirdVolume
in interface IAudioSection
volume
- the third SID volume settingpublic float getMainBalance()
IAudioSection
getMainBalance
in interface IAudioSection
public void setMainBalance(float balance)
IAudioSection
setMainBalance
in interface IAudioSection
balance
- the main SID balance settingpublic float getSecondBalance()
IAudioSection
getSecondBalance
in interface IAudioSection
public void setSecondBalance(float balance)
IAudioSection
setSecondBalance
in interface IAudioSection
balance
- the second SID balance settingpublic float getThirdBalance()
IAudioSection
getThirdBalance
in interface IAudioSection
public void setThirdBalance(float balance)
IAudioSection
setThirdBalance
in interface IAudioSection
balance
- the third SID balance settingpublic int getMainDelay()
IAudioSection
getMainDelay
in interface IAudioSection
public void setMainDelay(int delay)
IAudioSection
setMainDelay
in interface IAudioSection
delay
- the main SID delay settingpublic int getSecondDelay()
IAudioSection
getSecondDelay
in interface IAudioSection
public void setSecondDelay(int delay)
IAudioSection
setSecondDelay
in interface IAudioSection
delay
- the second SID delay settingpublic int getThirdDelay()
IAudioSection
getThirdDelay
in interface IAudioSection
public void setThirdDelay(int delay)
IAudioSection
setThirdDelay
in interface IAudioSection
delay
- the third SID delay settingpublic int getBufferSize()
IAudioSection
getBufferSize
in interface IAudioSection
public void setBufferSize(int bufferSize)
IAudioSection
setBufferSize
in interface IAudioSection
bufferSize
- output buffer sizeCopyright © 2018 Ken Händel. All rights reserved.