Em Ter 17 Mai 2005 16:41, Ricardo Castanho de Oliveira Freitas escreveu:
> Ol� Pessoal!
> 
> Estou com problemas na utiliza��o do Skype!
> 
> Acho que o firewall est� bloqueando o "som", pois via chat (teclado) est� 
funcionando!
> A pessoa com quem estou "falando" ouve perfeitamente, mas eu n�o consigo 
ouvir nada!
> Meu som est� configurado e funcionando (via82xxx).

Teste se voc� consegue gravar um som usando o krec.  Provavelmente a 
configura��o n�o est� 100% correta.  
Se voc� estiver usando dmix em conjunto com o alsa, use o dsnooper para 
captura de �udio.
Meu .asoundrc pode funcionar para voc� neste caso:

~/.asoundrc
#########################

# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.viamix {
     type hw
     card 0
}

# Allow mixing of multiple output streams to this device
pcm.dmixer {
     type dmix
     ipc_key 1024
     slave.pcm "viamix"
     slave {
          # This stuff provides some fixes for latency issues.
          # buffer_size should be set for your audio chipset.
          period_time 0
          period_size 1024
          buffer_size 4096
     }

     bindings {
          0 0
          1 1
     }
}

# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnooper {
     type dsnoop
     ipc_key 2048
     slave.pcm "viamix"

## Possible artsd full duplex fix:
#     slave {
#          period_time 0
#          period_size 1024
#          buffer_size 8192
#     }

     bindings {
          0 0
          1 1
     }
}

# This is what we want as our default device
# a fully duplex (read/write) audio device.
pcm.duplex {
     type asym
     playback.pcm "dmixer"
     capture.pcm "dsnooper"
}

###################
# CONVERSION PLUG #
###################
# Setting the default pcm device allows the conversion
# rate to be selected on the fly.
# duplex mode allows any alsa enabled app to read/write
# to the dmix plug (Fixes a problem with wine).
pcm.!default {
     type plug
     slave.pcm "duplex"
}

# Apparently this is wrong (breaks mplayer for me opening the device)
#ctl.!default {
#     type plug
#     slave.pcm "snd_card"
#}

########
# AOSS #
########
# OSS dsp0 device (OSS needs only output support, duplex will break some 
stuff)
pcm.dsp0 {
     type plug
     slave.pcm "dmixer"
}

# OSS control for dsp0 (needed?...this might not be useful)
ctl.dsp0 {
     type plug
     slave.pcm "viamix"
}

# OSS control for dsp0 (default old OSS is mixer0)
ctl.mixer0 {
     type plug
     slave.pcm "viamix"
}


-- 
Marcelo Vivan Borro
Linux User # 277064 
---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br

Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html

Responder a