Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
j-ogg-all
An open-source JVM library for reading Ogg bitstreams and decoding the media they contain.
I am working on big project where I need to decode audio ogg file to get full information. I used references and information from this repository for decoding ogg audio file, where I am using RandomAccessFile.
And let me explain, for example jorbis this library has a lot of nested loops in it, i understand why this library using this, but this is really bad. Because when I am trying to use library with this code, this taking so much time to convert ogg to pcm, and yes I know that converting ogg to pcm is a hard process, but I need to optimize my program, make it more better. The main thing is EVERY decoding ogg file library using the same piece of code! And I am not joking for example libgdx.
And let me explain, for example jorbis this library has a lot of nested loops in it, i understand why this library using this, but this is really bad. Because when I am trying to use library with this code, this taking so much time to convert ogg to pcm, and yes I know that converting ogg to pcm is a hard process, but I need to optimize my program, make it more better. The main thing is EVERY decoding ogg file library using the same piece of code! And I am not joking for example libgdx.
But I found an amazing repository with code that is more optimized and more cleanier (maybe this sounds silly but that doesnt matter). This repository is called j-ogg-all. And I tried to use code from this repository for my project. (I know stealing code is bad, but I really have no idea how to convert ogg to pcm there is no information about this).