libfaad2 includes DRM support, and it is configured as --with-drm. The only use of Digital Radio Mondiale support in libfaad is (AFAIK) for Dream (drm.sf.net).
For Dream to be able to decode audio from the ether, libfaad2 must be compiled with additional -DDRM CFLAG, otherwise the "MSC CRC" won't assert valid, even with a SNR > 28dB :((
Steps to Reproduce:
1. dynlink Dream against gentoo's libfaad2 2.0/-r1
2. tune Dream to a channel with good reception
3. open the Evaluation dialog of Dream
no MSC CRC
DRM decoding with libfaad2
Please add "append-flags -DDRM" to src_compile(), before this drives anyone to
the Windows version, it's really nasty to find.
hmm sorry haven't had time to look at this. You're probably right, but i wonder why the make script doesn't take care of adding this define (it should really).
Could you maybe patch up the config script ?
i had some time to look at this, DRM is set in config.h with the config option enabled. i can also see DRM specific lib functions, so it seems to be set alright. Are you 100% certain it does make a difference for you (I can't test it) ?
Right now I'm confused as the current CVS version of dream requires a libfaad that has a function "NeAACDecOpen", but neither version 1.1, nor 2.0-rc3 (as mentioned previously on the dream homepage), nor 2.0 final have such a function.
I have a compiled version of a suitable libfaad in my /usr/local/lib, but I can't figure out what source I built it from back then, so I don't even know in which tarball to look for the forgotten #include "config.h" or whatever the cause.
However, the missing flag is also mentioned on the dream website:
Funny, now they also mention a "DRM_PS" flag, this is new to me...
Google also showed me a hungarian website that obviously records this:
There is apparently something going on with dream as the website was broken
and is now up with some new content. They mention a file "neaacdec.h" which
probably explains my problems, but this file is not part of the dream CVS.
I guess dream and faad are going along different paths, so unless you want
to invest more effort into DRM support, it would probably be better to drop
Taking over faad2 for sound herd.
Considering this a WONTFIX, if Dream requires one of the CVS versions (that broke already many other packages) they should probably use an internal version.