5 Comments

  1. Urs
    Urs November 23, 2009 at 23:40 . Reply

    I have a similar setting:
    WL-HDD, OpenWRT, USB-Sound, mpd.
    Unfortunately, the CPU is used more than 100% :-(

    Have you done special settings to get smooth playing songs?

    Greets
    Urs

  2. michu
    michu November 25, 2009 at 23:59 . Reply

    nope.. did you check, what’s the reason for 100% cpu? is it mpd?

  3. Urs
    Urs November 26, 2009 at 08:36 . Reply

    It is mpd. I have 2 mpd processes who need about 45% cpu and 2 mpd processes who need about 2%, together with other tasks the cpu is full.
    /proc/cpuinfo say I have just 82.94 BogoMIPS.
    On the other hand, madplay uses about 60% cpu time. So it is possible with this cpu.

    I think that mpd is doing some re-sampling or mixing. I tried a lot of settings for mpd but couldn’t turn down the cpu usage.

    Maybe I really have to start compiling mpd on my own.

  4. michu
    michu November 27, 2009 at 22:29 . Reply

    what kind of distro you use? i guess its a 3rd party lib which is not optimized for embedded usage… do you play mp3 files or other kind of format? what kind of output format you use? did you try the null output?

  5. Urs
    Urs November 27, 2009 at 22:50 . Reply

    It works now!
    I recompiled mpd just with libmad and alsa output.
    The average CPU load is 70%, but the device has nothing more to do as playing mp3. Nevertheless, thank you for your ideas.

    How I like free software! :-)

Leave a Reply

Warning: require_once(/home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-content/themes/fanwood/sidebar-after-content.php): failed to open stream: Permission denied in /home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-includes/template.php on line 501 Fatal error: require_once(): Failed opening required '/home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-content/themes/fanwood/sidebar-after-content.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/httpd/vhosts/pixelinvaders.ch/httpdocs/neophob.com/wp-includes/template.php on line 501