|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object micromod.output.PCM16StreamOutputDevice micromod.output.HasAvailableOutputDevice
A HasAvailableOutputDevice has an internal buffer whose status can be determined at any time. All stream devices have such a buffer, but some may not support the ability to request the amount of data within it.
Field Summary |
Fields inherited from class micromod.output.PCM16StreamOutputDevice |
bytesPerFrame, CONVERT_BUFFER_FRAMES, convertBuffer, converter |
Constructor Summary | |
HasAvailableOutputDevice()
|
Method Summary | |
protected abstract int |
bytesAvailable()
|
int |
framesAvailable()
A frame of PCM audio is one sample. |
Methods inherited from class micromod.output.PCM16StreamOutputDevice |
initialise, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface micromod.output.StreamOutputDevice |
pause, write |
Methods inherited from interface micromod.output.OutputDevice |
close, start, stop |
Methods inherited from interface micromod.output.PCM16 |
getSamplingRate |
Constructor Detail |
public HasAvailableOutputDevice()
Method Detail |
protected abstract int bytesAvailable()
public int framesAvailable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |