|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ASIOListener
ASIO listeners can be added to ASIOMixer instances or generally to an ASIOMixerProvider instance for being notified of some events the ASIO driver may generate.
Method Summary | |
---|---|
boolean |
bufferSizeChanged(ASIOMixer mixer,
int newSize)
Indicates that the preferred buffer size of the driver has changed. |
boolean |
latenciesChanged(ASIOMixer mixer)
Indicates that the input - and/or output-latencies have changed. |
void |
resetRequest(ASIOMixer mixer)
Is called when the driver needs a reset. |
boolean |
resyncRequest(ASIOMixer mixer)
Indicates that the driver has lost its sync because of some reason and needs resyncing (usually stop and restart) |
void |
sampleRateChanged(ASIOMixer mixer,
double newRate)
Indicates that the sample rate has changed. |
boolean |
supportsBufferSizeChange()
Ask if this ASIOListener will react to the bufferSizeChanged() call. |
boolean |
supportsLatenciesChanged()
Ask if this ASIOListener will react to the latenciesChanged() call. |
boolean |
supportsResyncRequest()
Ask if this ASIOListener will react to the resyncRequest() call. |
Method Detail |
---|
void sampleRateChanged(ASIOMixer mixer, double newRate)
mixer
- The ASIOMixer representing the ASIO drivernewRate
- The new sample ratevoid resetRequest(ASIOMixer mixer)
mixer
- The ASIOMixer representing the ASIO driverboolean supportsBufferSizeChange()
boolean bufferSizeChanged(ASIOMixer mixer, int newSize)
mixer
- The ASIOMixer representing the ASIO drivernewSize
- The new buffersize in sample frames. Please note that this
value means a size in frames, not a number of bytes.
boolean supportsResyncRequest()
boolean resyncRequest(ASIOMixer mixer)
mixer
- The ASIOMixer representing the ASIO driver
boolean supportsLatenciesChanged()
boolean latenciesChanged(ASIOMixer mixer)
mixer
- The ASIOMixer representing the ASIO driver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |