Menu

#143 dummy audio module checked twice

1.12.1
closed
nobody
mpg123 (104)
5
2012-05-01
2010-07-17
No

Under Gentoo I get :

Modules ................. enabled
Checked audio modules ... dummy sdl alsa dummy
Detected audio support .. dummy sdl alsa dummy
Default output module ... alsa

The string "dummx" appears twice in "Checked" and in "Detected"

Discussion

  • Jonathan Yong

    Jonathan Yong - 2010-07-18

    Can you post more details? Such as your configure line.

    I can't reproduce this in Cygwin.

     
  • Toralf Förster

    Toralf Förster - 2010-07-18

    The full log file is here http://paste.pocoo.org/show/238966/ , the appropriate configure line is :

    tfoerste@n22 ~ $ grep configure /var/log/portage/media-sound:mpg123-1.12.1:20100717-135221.log
    ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --with-optimization=0 --with-audio=dummy sdl alsa --with-default-audio=alsa --with-cpu=x86 --enable-network --enable-ipv6
    configure: creating ./config.status
    >>> Source configured.

     
  • Jonathan Yong

    Jonathan Yong - 2010-07-18

    I think I managed to reproduce this with --with-audio="oss win32 esd nas dummy". I got:

    checking if you are too dumbing dumb for the dummy... no
    checking if you are too dumbing dumb for the dummy... no
    ....
    ....
    Checked audio modules ... oss win32 esd nas dummy dummy
    Detected audio support .. oss win32 esd nas dummy dummy

    Looks like a quick workaround is to avoid specifying dummy, since it will always be enabled anyway.

    Anybody with proper shell foo care to comment?

     
  • Thomas Orgis

    Thomas Orgis - 2010-07-18

    Well, yes, it's twice in the list when you mention dummy in --with-audio. I didn't expect people to do that. I always add dummy to the list to have it as last resort:

    if test "x$with_audio" != "x"; then
    check_modules="`echo $with_audio|tr , ' '` dummy"
    echo "Limiting outputs to build according to your preference: $check_modules"
    check_forced=yes
    fi

    So, if everything fails, you still get a build with dummy output. One can discuss now if that's good or not. One might raise the issue of users specifying --with-audio="oss win32 oss win32 oss" hm, actually I'm not sure if that would cause any trouble trying --with-audio="alsa alsa" ... doesn't seem to cause any trouble.

    Well, of course one can add code to configure that filters out duplicates, to keep things polished, but is it necessary/worth it? One might rather focus on the question if dummy should always be implicitly in the list. Comments on that one?

     
  • Toralf Förster

    Toralf Förster - 2010-07-19

    A Gentoo developer doesn't see a problem : https://bugs.gentoo.org/show_bug.cgi?id=328821

    Well, if this is only a cosmetic problem then probabl<y not worth to deal with.

     
  • Nobody/Anonymous

    DmD5Td <a href="http://bnvwsdinxped.com/">bnvwsdinxped</a>, [url=http://pwirudncpwwg.com/]pwirudncpwwg[/url], [link=http://goksivxqszhb.com/]goksivxqszhb[/link], http://aqahjsapkzlo.com/

     
  • Thomas Orgis

    Thomas Orgis - 2012-05-01
    • status: open --> closed
     
  • Thomas Orgis

    Thomas Orgis - 2012-05-01

    Well, then, there are more serious issues in life.

     

Log in to post a comment.