diff options
Diffstat (limited to 'src/java/com/jogamp/common/av/AudioSink.java')
-rw-r--r-- | src/java/com/jogamp/common/av/AudioSink.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/av/AudioSink.java b/src/java/com/jogamp/common/av/AudioSink.java index 3973d33..d41e05b 100644 --- a/src/java/com/jogamp/common/av/AudioSink.java +++ b/src/java/com/jogamp/common/av/AudioSink.java @@ -242,6 +242,18 @@ public interface AudioSink { } /** + * Exclusively locks this instance for the calling thread, if implementation utilizes locking. + * @see #unlockExclusive() + */ + public void lockExclusive(); + + /** + * Releases the exclusive lock for the calling thread, if implementation utilizes locking. + * @see #lockExclusive() + */ + public void unlockExclusive(); + + /** * Returns the <code>available state</code> of this instance. * <p> * The <code>available state</code> is affected by this instance |