El Viernes, 18 de Febrero de 2005 20:47, Jonathan Chapman escribi�:
> What lights should be on in KMix under Input and Switches?

Red means recording enabled. Green means playback enabled. So you need 
'Capture' enabled and 'Line in' too. Maybe you have a  card with other 
connections than mine, but go and try. If you use oss, this should be enough, 
but if you use alsa, you need to have it properly confgured.

Next is my /etc/asound.conf file. CAUTION: This file works for me but only 
works the dmixed output. I'm still trying to make it work for dsnooped input 
or whatever, but it doesn't work yet. I'd like some help with this. Now, the 
file:
------------------------------------------------
# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.snd_card {
     type hw
     card 1
}

# Allow mixing of multiple output streams to this device
pcm.dmix {
     type dmix
     ipc_key 1024
     slave.pcm "snd_card"
     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 8192
     }

     bindings {
          0 0
          1 1
     }
}
# Allow reading from the default device.
# Also known as record or capture.
pcm.dsnoop {
     type dsnoop
     ipc_key 2048
     slave.pcm "snd_card"

     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 "dmix"
     capture.pcm "dsnoop"
}


pcm.!default {
    type plug
    slave.pcm "duplex"
}
###################
# 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"
#}
-----------------------------------------------

I found it in internet and used it.
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to