hegdi / libldacdec Goto Github PK
View Code? Open in Web Editor NEWA library for decoding audio in Sony's LDAC format
License: MIT License
A library for decoding audio in Sony's LDAC format
License: MIT License
Please add a license so this can actually be used and worked on.
Hi
I'm trying to compile libldacdec. I started with
git clone https://github.com/hegdi/libldacdec.git
cd libldacdec
git submodule init
git submodule update
make
this is the output:
gcc -MMD -MP -O3 -g -march=native -DVERSION="\"bbba\"" -std=gnu11 -Wall -Wextra -Ilibldac/inc -Ilibldac/src -c -o ldacdec.o ldacdec.c
ldacdec.c: In function ‘main’:
ldacdec.c:68:9: warning: unused variable ‘blockId’ [-Wunused-variable]
int blockId = 0;
^~~~~~~
gcc -MMD -MP -O3 -g -march=native -DVERSION="\"bbba\"" -std=gnu11 -Wall -Wextra -Ilibldac/inc -Ilibldac/src -fpic -c -o libldacdec.o libldacdec.c
libldacdec.c: In function ‘ldacNullPacket’:
libldacdec.c:520:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
gcc -MMD -MP -O3 -g -march=native -DVERSION="\"bbba\"" -std=gnu11 -Wall -Wextra -Ilibldac/inc -Ilibldac/src -fpic -c -o bit_allocation.o bit_allocation.c
gcc -MMD -MP -O3 -g -march=native -DVERSION="\"bbba\"" -std=gnu11 -Wall -Wextra -Ilibldac/inc -Ilibldac/src -fpic -c -o huffCodes.o huffCodes.c
gcc -MMD -MP -O3 -g -march=native -DVERSION="\"bbba\"" -std=gnu11 -Wall -Wextra -Ilibldac/inc -Ilibldac/src -fpic -c -o bit_reader.o bit_reader.c
gcc -MMD -MP -O3 -g -march=native -DVERSION="\"bbba\"" -std=gnu11 -Wall -Wextra -Ilibldac/inc -Ilibldac/src -fpic -c -o utility.o utility.c
gcc -MMD -MP -O3 -g -march=native -DVERSION="\"bbba\"" -std=gnu11 -Wall -Wextra -Ilibldac/inc -Ilibldac/src -fpic -c -o imdct.o imdct.c
gcc -MMD -MP -O3 -g -march=native -DVERSION="\"bbba\"" -std=gnu11 -Wall -Wextra -Ilibldac/inc -Ilibldac/src -fpic -c -o spectrum.o spectrum.c
gcc -L. -Wl,-rpath=. -shared -fpic -Wl,-soname,libldacdec.so.1 -o libldacdec.so libldacdec.o bit_allocation.o huffCodes.o bit_reader.o utility.o imdct.o spectrum.o -lm -lldacdec -lsndfile
./libldacdec.so: file not recognized: File truncated
collect2: error: ld returned 1 exit status
Makefile:44: recipe for target 'libldacdec.so' failed
make: *** [libldacdec.so] Error 1
I'm trying to compile on debian stretch. Am I missing something? Any help appreciated! Thanks a lot.
I have a 48KHz 24bit audio file, after LDAC conversion, it becomes 16bit.
I have a piece of test audio here. After encoding and then decoding, the audio is different from the original audio. Part of the decoded audio is noise.
test_wav.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.