Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
AudioGeneratorThread(AudioConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
changeDevice(Mixer.Info deviceInfo)
Change the output device
|
void |
ensureDraining()
Ensure that the event-handling thread is consuming events.
|
void |
ensureQuickDraining() |
JavaSound |
getDriver() |
long |
getPlaybackClock()
Return the current clock in the SID stream.
|
BlockingQueue<SIDWrite> |
getSidCommandQueue()
Acquire command queue handle.
|
boolean |
isWaitingForCommands() |
void |
mute(int sidNumber,
int voiceNo,
boolean mute)
Mute a SID's voice.
|
void |
reset(int sidNumber,
byte volume)
Reset the specified SID and sets the volume afterwards.
|
void |
run() |
void |
setClocking(CPUClock clock)
Set NTSC/PAL time source.
|
void |
setDelay(int sid,
int delay) |
void |
setDigiBoost(boolean selected)
Whether or not to enable Digiboost for all SID chips of model 8580.
|
void |
setFadeIn(float fadeIn) |
void |
setFadeOut(float fadeOut) |
void |
setLevelAdjustment(int sid,
int level) |
void |
setPosition(int sidNumber,
int position) |
void |
setSampling(SamplingMethod samplingMethod)
Set quality of audio output.
|
void |
setSID(int sidNumber,
SIDChip sidConfig) |
void |
setSidArray(SIDChip[] sid) |
protected int |
triangularDithering()
Triangularly shaped noise source for audio applications.
|
boolean |
waitUntilQueueReady(long timeout) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public AudioGeneratorThread(AudioConfig config)
protected int triangularDithering()
public void reset(int sidNumber, byte volume)
sidNumber
- The specified SID to reset.volume
- The volume of the specified SID after resetting it.public void mute(int sidNumber, int voiceNo, boolean mute)
sidNumber
- The specified SID to mute the voice of.voiceNo
- The specific voice of the SID to mute.mute
- Mute/Unmute the SID voice.public void changeDevice(Mixer.Info deviceInfo)
deviceInfo
- public void setClocking(CPUClock clock)
clock
- The specified clock value to set.public void setSampling(SamplingMethod samplingMethod)
samplingMethod
- The desired sampling method to use.public void setPosition(int sidNumber, int position)
public void setLevelAdjustment(int sid, int level)
public void setDelay(int sid, int delay)
public void setFadeIn(float fadeIn)
public void setFadeOut(float fadeOut)
public BlockingQueue<SIDWrite> getSidCommandQueue()
public JavaSound getDriver()
public long getPlaybackClock()
public void ensureDraining()
public void ensureQuickDraining()
public boolean isWaitingForCommands()
public boolean waitUntilQueueReady(long timeout)
public void setSidArray(SIDChip[] sid)
public void setSID(int sidNumber, SIDChip sidConfig)
public void setDigiBoost(boolean selected)
selected
- Whether or not to enable Digiboost.Copyright © 2018 Ken Händel. All rights reserved.