[Voyage-linux] Voyage MPD & alsaequal

Punky Tse (spam-protected)
Sat Feb 19 01:08:24 HKT 2011


Hi Navas,

Take a look to top or load avg. to see if it is CPU bound.

Regards,
Punky


On 18/2/2011 23:42, Navas Abubacker wrote:
> Hi,
>
> I am trying to get the equalizer with Voyage MPD on a alix3 box. But 
> for some reason the sound is breaking up,
>
> I can see "alsamixer -D equal" working and when I debug the mpd I am 
> getting the output like this
>
> root at voyage:~# mpd --no-daemon --stderr -v /etc/mpd.conf
> config: loading file /etc/mpd.conf
> path: path_set_fs_charset: fs charset is: UTF-8
> database: reading DB
> disabling the last.fm <http://last.fm> playlist plugin because account 
> is not configured
> daemon: opening pid file
> daemon: writing pid file
> state_file: Loading state file /var/lib/mpd/state
> database: get song: En Jannal Vandha - TamilLatestMusic.blogspot.com.mp3
> playlist: play 0:"En Jannal Vandha - TamilLatestMusic.blogspot.com.mp3"
> decoder_thread: clearing mixramp tags
> decoder_control: mixramp_start = NULL
> decoder_control: mixramp_prev_end = NULL
> mad: detected LAME version 3.99 ("LAME3.99a")
> mad: LAME peak found: 0.000000
> mad: LAME track gain found: -10.600000
> mad: encoder delay is 576, encoder padding is 324
> decoder: audio_format=44100:24:2, seekable=true
> alsa: buffer: size=1881..15052 time=42653..341316
> alsa: period: size=940..941 time=21333..21334
> alsa: default period_time = buffer_time/4 = 341315/4 = 85328
> alsa: buffer_size=15052 period_size=940
> output: opened plugin=alsa name="equal" audio_format=44100:24:2
> alsa: Underrun on ALSA device "plug:plugequal"
> alsa: Underrun on ALSA device "plug:plugequal"
> alsa: Underrun on ALSA device "plug:plugequal"
> alsa: Underrun on ALSA device "plug:plugequal"
> alsa: Underrun on ALSA device "plug:plugequal"
> alsa: Underrun on ALSA device "plug:plugequal"
>
>
> for every alsa: Underrun on ALSA device "plug:plugequal" it is 
> breaking up.
>
> here are my configurations
>
> root at voyage:~# dmesg | grep usb
> [    5.723640] input: C-Media USB Audio Device    as 
> /devices/pci0000:00/0000:00:0f.4/usb2/2-3/2-3:1.3/input/input1
> [    5.724435] generic-usb 0003:0D8C:000C.0001: input,hidraw0: USB HID 
> v1.00 Device [C-Media USB Audio Device   ] on usb-0000:00:0f.4-3/input3
> [    5.725529] usbcore: registered new interface driver usbhid
> [    5.725617] usbhid: USB HID core driver
> [   10.824108] usbcore: registered new interface driver snd-usb-audio
>
>
> root at voyage:~# lsusb
> Bus 002 Device 002: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
>
>
> root at voyage:~# nano /etc/asound.conf
> ctl.equal {
>   type equal;
> }
>
> pcm.plugequal {
>   type equal;
>   slave.pcm "plug:dmix";
> }
>
> #pcm.equal {
>   # Or if you want the equalizer to be your
>   # default soundcard uncomment the following
>   # line and comment the above line.
>   pcm.!default {
>   type plug;
>   slave.pcm plugequal;
> }
>
> root at voyage:~# nano /etc/mpd.conf
> ..............................
> audio_output {
>   type    "alsa"
>   name    "equal"
>   device  "plug:plugequal"
> }
> ........................
>
>
> Please help
>
> -- 
> Thanks
> Navas





More information about the Voyage-linux mailing list