summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl
diff options
context:
space:
mode:
authorXerxes Rånby <[email protected]>2013-05-08 19:05:19 +0200
committerXerxes Rånby <[email protected]>2013-05-10 09:39:50 +0200
commitdf6e7dbf623d7559c0b26cbad82d9a8bfda9d9db (patch)
tree359e466d08833507039f3d97e3e71e7199ae6c3f /src/jogl/classes/jogamp/opengl
parent170826d2e202a9938595017b9621a25a6f36a50b (diff)
FFMPEGMediaPlayer: Add updateSound callback for passing decoded jni audio frames to java.
Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-rw-r--r--src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java b/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java
index 7f17e6234..a954c9878 100644
--- a/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java
+++ b/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java
@@ -213,6 +213,9 @@ public class FFMPEGMediaPlayer extends EGLMediaPlayerImpl {
throw new InternalError("Unknown ProcAddressTable: "+pt.getClass().getName()+" of "+ctx.getClass().getName());
}
}
+ private void updateSound() {
+ System.out.println("jA");
+ }
private void updateAttributes2(int pixFmt, int planes, int bitsPerPixel, int bytesPerPixelPerPlane,
int lSz0, int lSz1, int lSz2,
int tWd0, int tWd1, int tWd2) {