aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common/av/NullAudioSink.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/jogamp/common/av/NullAudioSink.java')
-rw-r--r--src/java/jogamp/common/av/NullAudioSink.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/java/jogamp/common/av/NullAudioSink.java b/src/java/jogamp/common/av/NullAudioSink.java
index 36681bb..7a02af9 100644
--- a/src/java/jogamp/common/av/NullAudioSink.java
+++ b/src/java/jogamp/common/av/NullAudioSink.java
@@ -89,6 +89,16 @@ public class NullAudioSink implements AudioSink {
}
@Override
+ public float getDefaultLatency() {
+ return 0;
+ }
+
+ @Override
+ public float getLatency() {
+ return 0;
+ }
+
+ @Override
public AudioFormat getPreferredFormat() {
return DefaultFormat;
}
@@ -114,7 +124,7 @@ public class NullAudioSink implements AudioSink {
}
@Override
- public boolean init(final AudioFormat requestedFormat, final float frameDuration, final int initialQueueSize, final int queueGrowAmount, final int queueLimit) {
+ public boolean init(final AudioFormat requestedFormat, final int frameDuration, final int initialQueueSize, final int queueGrowAmount, final int queueLimit) {
chosenFormat = requestedFormat;
return true;
}