Open dieterstueken opened 6 years ago
playing a 5.1 sample containing coupling channel elements al07_44.mp4 (ftp://mpaudconf:adif2mp4@ftp.iis.fhg.de/mpeg4audio-conformance/compressedMp4/al07_44.mp4) reveals even more errors:
The number of channels calculated by PCE is wrong: The returned count is the number of elements not taking into account if the element is mono or stereo (SCE/CPE).
Decoding of CCE does not work after some ancient refactoring from 2011.
More than two channels can not be sent to a SourceDataLine. The SampleBuffer simply sends too much bytes. Either we have to provide several SourceDataLines or a Sample buffer must know which are the relevant stereo channels.
Hey dieterstueken, have you seen this? You seem to be able to fix these kind of errors. Thanks
https://github.com/DV8FromTheWorld/JAADec/issues/10#issuecomment-449839732
while playing sample ftp://mpaudconf:adif2mp4@ftp.iis.fhg.de/mpeg4audio-conformance/compressedMp4/al05_48.mp4 I got errors. With some patches I got them resolved.
see: https://github.com/dieterstueken/JAADec/commit/3da3f83bc3b87b465337edeb8b97df1d9bbedb78 and https://github.com/dieterstueken/JAADec/commit/9854a70ce55d5a5b7498884370241de89580f64e