NeAACDecSetConfiguration() was set with:
defObjectType = LC and defSampleRate = 44100
NeAACDecInit(), using the buffer of the pipe is ok and gives:
SampleRate = 44100 and Channels = 2.
But with NeAACDecDecode(), using same pipe, nothing is decoded and the result of frame_info is:
frame_info.channels = 1536
frame_info.error = 0
frame_info.samplerate = 0
Hello. Congratulation for that great project.
Your library is used for the uos project that uses the Free Pascal compiler. https://github.com/fredvs/uos
It works perfectly to decode + play via Portaudio aac files.
The plan now is to do, like for libmpg123 and libopus, web streaming of aac files.
I did try with this site but others give the same result: https://radiorecord.hostingradio.ru/ps96.aacp The connection to the url file is ok and done via pipe-stream.
NeAACDecOpen() is ok.
NeAACDecSetConfiguration() was set with: defObjectType = LC and defSampleRate = 44100
NeAACDecInit(), using the buffer of the pipe is ok and gives: SampleRate = 44100 and Channels = 2.
But with NeAACDecDecode(), using same pipe, nothing is decoded and the result of frame_info is: frame_info.channels = 1536 frame_info.error = 0 frame_info.samplerate = 0
What did I wrong?
Thanks.