public class ModMixer extends BasicMixer
| Constructor and Description |
|---|
ModMixer(Module mod,
int sampleSizeInBits,
int channels,
int sampleRate,
int doISP,
boolean doWideStereoMix,
boolean doNoiseReduction,
boolean doMegaBass,
int doNoLoops,
int msBufferSize)
Constructor for ModMixer
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChannelCount() |
int |
getCurrentKBperSecond() |
int |
getCurrentSampleFrequency() |
long |
getLengthInMilliseconds() |
long |
getMillisecondPosition() |
Module |
getMod() |
BasicModMixer |
getModMixer() |
boolean |
isSeekSupported() |
protected void |
seek(long milliseconds) |
void |
setBufferSize(int msBufferSize) |
void |
setChannels(int channels) |
void |
setDoISP(int doISP) |
void |
setDoMegaBass(boolean doMegaBass) |
void |
setDoNoiseReduction(boolean doNoiseReduction) |
void |
setDoNoLoops(int doNoLoops) |
void |
setDoWideStereoMix(boolean doWideStereoMix) |
void |
setSampleRate(int sampleRate) |
void |
setSampleSizeInBits(int sampleSizeInBits) |
void |
startPlayback() |
getSeekPosition, hasFinished, isInSeeking, isNotPausingNorPaused, isNotSeeking, isNotStoppingNorStopped, isPaused, isPausing, isPlaying, isSeeking, isStopped, isStopping, pausePlayback, setHasFinished, setIsPaused, setIsPausing, setIsPlaying, setIsSeeking, setIsStopped, setIsStopping, setMillisecondPosition, stopPlaybackcloseAudioDevice, fullyCloseAudioDevice, getAudioFormat, isInitialized, openAudioDevice, setAudioFormat, setAudioProcessor, setBalance, setExportFile, setExportFile, setInternatFramePosition, setKeepSilent, setPlayDuringExport, setSoundOutputStream, setVolume, startLine, stopLine, writeSampleDataToLinepublic ModMixer(Module mod, int sampleSizeInBits, int channels, int sampleRate, int doISP, boolean doWideStereoMix, boolean doNoiseReduction, boolean doMegaBass, int doNoLoops, int msBufferSize)
public void setDoNoiseReduction(boolean doNoiseReduction)
doNoiseReduction - The doNoiseReduction to set.public void setDoWideStereoMix(boolean doWideStereoMix)
doWideStereoMix - The doWideStereoMix to set.public void setDoMegaBass(boolean doMegaBass)
doMegaBass - The doMegaBass to set.public void setDoNoLoops(int doNoLoops)
doNoLoops - the loop to setpublic void setDoISP(int doISP)
doISP - The doISP to set.public void setBufferSize(int msBufferSize)
doISP - The doISP to set.public void setSampleRate(int sampleRate)
sampleRate - The sampleRate to set.public void setSampleSizeInBits(int sampleSizeInBits)
sampleSizeInBits - The sampleSizeInBits to set.public void setChannels(int channels)
channels - The channels to set.public Module getMod()
public BasicModMixer getModMixer()
public boolean isSeekSupported()
isSeekSupported in class MixerMixer.isSeekSupported()public long getMillisecondPosition()
getMillisecondPosition in class MixerMixer.getMillisecondPosition()protected void seek(long milliseconds)
seek in class BasicMixermilliseconds - BasicMixer.seek(long)public long getLengthInMilliseconds()
getLengthInMilliseconds in class MixerMixer.getLengthInMilliseconds()public int getChannelCount()
getChannelCount in class MixerMixer.getChannelCount()public int getCurrentKBperSecond()
getCurrentKBperSecond in class MixerMixer.getCurrentKBperSecond()public int getCurrentSampleFrequency()
getCurrentSampleFrequency in class MixerMixer.getCurrentSampleFrequency()public void startPlayback()
startPlayback in class MixerCopyright © 2014. All rights reserved.