aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/jogamp/common')
-rw-r--r--src/java/jogamp/common/av/JavaSoundAudioSink.java5
-rw-r--r--src/java/jogamp/common/av/NullAudioSink.java5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/java/jogamp/common/av/JavaSoundAudioSink.java b/src/java/jogamp/common/av/JavaSoundAudioSink.java
index 94ad236..556ada4 100644
--- a/src/java/jogamp/common/av/JavaSoundAudioSink.java
+++ b/src/java/jogamp/common/av/JavaSoundAudioSink.java
@@ -305,7 +305,7 @@ public final class JavaSoundAudioSink implements AudioSink {
}
@Override
- public float getQueuedTime() {
+ public float getQueuedDuration() {
return chosenFormat.getBytesDuration( getQueuedByteCount() );
}
@@ -318,6 +318,9 @@ public final class JavaSoundAudioSink implements AudioSink {
public final int getPTS() { return 0; } // FIXME
@Override
+ public final int updateQueue() { return 0; } // FIXME
+
+ @Override
public int getLastBufferedPTS() { return 0; } // FIXME
}
diff --git a/src/java/jogamp/common/av/NullAudioSink.java b/src/java/jogamp/common/av/NullAudioSink.java
index 0626ca8..d38c040 100644
--- a/src/java/jogamp/common/av/NullAudioSink.java
+++ b/src/java/jogamp/common/av/NullAudioSink.java
@@ -174,7 +174,7 @@ public final class NullAudioSink implements AudioSink {
public int getQueuedByteCount() { return 0; }
@Override
- public float getQueuedTime() { return 0f; }
+ public float getQueuedDuration() { return 0f; }
@Override
public float getAvgFrameDuration() { return 0f; }
@@ -183,6 +183,9 @@ public final class NullAudioSink implements AudioSink {
public final int getPTS() { return playingPTS; }
@Override
+ public final int updateQueue() { return playingPTS; }
+
+ @Override
public int getLastBufferedPTS() { return 0; }
@Override