You are not logged in.

#1 2008-10-03 15:36:58

prol
Member
Registered: 2008-03-27
Posts: 75

Sound problems [SOLVED]

HI,
Right now I have 2 problems with sound
1.Dmix doesnt work.I cant run two applications to play sound . I looked at the wiki but its says that it is suppsed to be fixed in new version anddmix should be loadded by default.

2. I cant get any sound from alarms and notifications from Thunderbird/lightning. The only way to fix that is to use esd but when I use it, other applciations like vlc and mlayer dont play the sound properly(stutering).

Please help me !

Last edited by prol (2008-10-06 17:09:27)

Offline

#2 2008-10-05 03:59:42

OneEyedPimp
Member
Registered: 2008-05-02
Posts: 103

Re: Sound problems [SOLVED]

Do you have a sound server installed like alsa?

Offline

#3 2008-10-05 04:16:26

prol
Member
Registered: 2008-03-27
Posts: 75

Re: Sound problems [SOLVED]

Yes alsa works  but not dmix(cant use multiple programs) and sound in thunderbird only works when i use esd but esd doenst work well wither with mplayer and vlc.

Offline

#4 2008-10-05 05:04:31

verve
Member
Registered: 2008-09-08
Posts: 30

Re: Sound problems [SOLVED]

post /etc/asound.conf
post aplay -L (it's a command)
post programs that can't share the card

Last edited by verve (2008-10-05 05:05:04)

Offline

#5 2008-10-05 15:22:52

prol
Member
Registered: 2008-03-27
Posts: 75

Re: Sound problems [SOLVED]

Asound.conf is empty.

aplay -L
front:CARD=I82801BAICH2,DEV=0
    Intel 82801BA-ICH2, Intel 82801BA-ICH2
    Front speakers
surround40:CARD=I82801BAICH2,DEV=0
    Intel 82801BA-ICH2, Intel 82801BA-ICH2
    4.0 Surround output to Front and Rear speakers
surround41:CARD=I82801BAICH2,DEV=0
    Intel 82801BA-ICH2, Intel 82801BA-ICH2
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=I82801BAICH2,DEV=0
    Intel 82801BA-ICH2, Intel 82801BA-ICH2
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=I82801BAICH2,DEV=0
    Intel 82801BA-ICH2, Intel 82801BA-ICH2
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=I82801BAICH2,DEV=0
    Intel 82801BA-ICH2, Intel 82801BA-ICH2
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)

mpd mplayer vlc, basically anything and Thunderbird/sunbird needs esd to be turned on but when esd is turned on flash, vlc and others dont work.

Offline

#6 2008-10-05 23:19:00

verve
Member
Registered: 2008-09-08
Posts: 30

Re: Sound problems [SOLVED]

This is all covered in the alsa wiki, but i'm gonna take the time anyway 'cause i'm bored as hell

Do this for /etc/asound.conf

# asound.conf
# Make dmix the default device
pcm.!default {
    type            plug
    slave.pcm       "dmix" 
}

# Make oss use dmix
pcm.dsp0 {
    type plug
    slave.pcm "dmix"
}

ctl.mixer0 {
    type hw
    card 0
}

If mpd still doesn't budge, make sure you comment out output/mixer settings in /etc/mpd.conf, or point output to dmix:

# mpd.conf output settings
audio_output {
        type                    "alsa"
        name                    "Sound Card"
        options                 "dev=dmixer"
        device                  "plug:dmix"
}

Last edited by verve (2008-10-05 23:19:39)

Offline

#7 2008-10-06 01:18:56

prol
Member
Registered: 2008-03-27
Posts: 75

Re: Sound problems [SOLVED]

thanks so much . i went to the mpd wiki and the alsa wiki and it solved my most of my problems except for flash, when i use it i can play anything else, i have to shut it off  in order to play something. Anyways pls mark this thread [SOLVED]

Offline

#8 2008-10-06 16:48:32

verve
Member
Registered: 2008-09-08
Posts: 30

Re: Sound problems [SOLVED]

You have to edit the OP yourself.

(No reading=bannable offense?)

Offline

Board footer

Powered by FluxBB