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.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/java/jogamp/common/av/NullAudioSink.java b/src/java/jogamp/common/av/NullAudioSink.java
index 19b0acb..904b863 100644
--- a/src/java/jogamp/common/av/NullAudioSink.java
+++ b/src/java/jogamp/common/av/NullAudioSink.java
@@ -84,11 +84,6 @@ public final class NullAudioSink implements AudioSink {
}
@Override
- public int getPreferredSampleRate() {
- return DefaultFormat.sampleRate;
- }
-
- @Override
public int getSourceCount() {
return -1;
}
@@ -104,16 +99,19 @@ public final class NullAudioSink implements AudioSink {
}
@Override
- public AudioFormat getPreferredFormat() {
+ public AudioFormat getNativeFormat() {
return DefaultFormat;
}
@Override
- public final int getMaxSupportedChannels() {
- return 8;
+ public AudioFormat getPreferredFormat() {
+ return DefaultFormat;
}
@Override
+ public void setChannelLimit(final int cc) { }
+
+ @Override
public final boolean isSupported(final AudioFormat format) {
/**
* If we like to emulate constraints ..