diff options
author | Sven Gothel <[email protected]> | 2023-05-04 01:04:53 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-05-04 01:04:53 +0200 |
commit | b32e378ec80488c5ffbd0d9bb356217e6db0245f (patch) | |
tree | 1eae94088800a2eb7924822cf7d23561a403357e /src/java/com/jogamp/common/av/AudioFormat.java | |
parent | 6e67a7b54af82aa4e4ec28f50ff08a26f9d80627 (diff) |
IOUtil.copyStreamChunk2ByteBuffer(..): Added new method to copy a chunk (segment) of the input stream (skipBytes, byteCount)
This method is inspired by Bug 1280, <https://github.com/sgothel/joal/pull/16>,
'copy only needed bytes' for JOAL's com.jogamp.openal.util.WAVData.loadFromStream(..).
This method is a revised version of the proposed IOHelpers.copyFromStream2ByteBuffer(..),
see <https://github.com/OndrejSpanel/joal/commit/1616659e98904270af4faca25b770d0983609735>
Diffstat (limited to 'src/java/com/jogamp/common/av/AudioFormat.java')
0 files changed, 0 insertions, 0 deletions