Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48140 - Dream does not work with libfaad2 compiled as is now
Summary: Dream does not work with libfaad2 compiled as is now
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
Depends on:
Reported: 2004-04-17 09:52 UTC by Stefan Nickl
Modified: 2005-12-19 03:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Nickl 2004-04-17 09:52:59 UTC
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 (

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 :((

Reproducible: Always
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

Actual Results:  

Expected Results:  
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.
Comment 1 foser (RETIRED) gentoo-dev 2004-05-21 04:37:43 UTC
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 ?
Comment 2 foser (RETIRED) gentoo-dev 2005-01-18 08:46:16 UTC
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) ?
Comment 3 Stefan Nickl 2005-01-27 12:47:55 UTC
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: (bottom)

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
it altogether...
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-19 01:53:48 UTC
Taking over faad2 for sound herd.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-19 03:30:11 UTC
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.