Re: playing audio from an AVI file...
Posted by TheLittleP on Mar 17, 2014; 3:49am
URL: https://forum.jogamp.org/playing-audio-from-an-AVI-file-tp4031894p4031931.html
thank you very much for taking the time and effort in investigating my problem.
I am sure many people will benefit with the addition of being able to use GLMediaPlayer with JOAL.
However I have written my own player which processes the raw data buffers.
I am a little miffed as to why joal doesn't support com.jopamp.opengl.util.av.AudioSink.AudioFormat or something similar.
I notice jogamp.opengl.openal.av.ALAudioSink generates sources and buffers the same way AudioSystem3D does so tomorrow I will dig around the source code to see how the AudioFormat is implemented to which I will write a method, maybe create my own version of AudioSystem3D that supports AudioFormat.
If my AVI audio plays using ALAudioSink then I believe this will be my solution. If successful I will be happy to share my alterations to AudioSystem3D that enables it to support AudioFormat.
regards