aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/opengl/awt/GLJPanel.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-10-15 07:10:15 +0200
committerSven Gothel <[email protected]>2023-10-15 07:10:15 +0200
commit2c80bb2e6eb12e155d747daf8a08362396d5e0fc (patch)
treed7c2d4854b281ef6b412490e46f6ae8c5956ee78 /src/jogl/classes/com/jogamp/opengl/awt/GLJPanel.java
parentb1956113f5601b0cc6ac525d3918a0dfa8d240af (diff)
Bug 1472: Enhance GLMediaPlayer AV Sync: Fix FFMPEGMediaPlayer's audio resample: Use swr_get_out_samples(..) to calculate the required output sample count
Notable when playing audio with e.g. 24k sample rate on a 48k OpenAL ALAudioSink, the sample duration was cut in half due to erroneous resampling missing half the required samples. Using swr_get_out_samples(..) resolves this issue pre swr_convert(..), the resampling.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/awt/GLJPanel.java')
0 files changed, 0 insertions, 0 deletions