Użytkownik Lukasz "S-K" Jarochowski napisał:
Witam.
Mam kilka wkurzających problemów z aRtsem. Zwykle jechałem na samej ALSA'ie ale ostatnio naszła mnie ochota, żeby wszystko mieć jak najbardziej user-friendly, a ALSA taka nie jest (dobiera się na sztywno do dsp i nie można sobie puszczać dwóch strumieni dźwięku).
...............
U mnie wyglada tak: alsa z dmix i innymi pierdolami + emulacja oss + arts => kazde dziala
wyjatek:
alsa gdy jest na dmix, to czasem przy wiekszych obciazeniach systemu xmms(na wtyczce alsy) zacinaja sie piosenki tzn. zatrzyma sie i trzeba (stop a nastepnie play)
a tak po za tym kiedy flash z mozilli chce dziek to bierze z alsy, xmms z arts , mplayer z (arts lub alsy)
kadu z arts), gierki przewaznie z dsp wiec tu nic nie da dmix czy arts, ale
mplayera i xmms razem z flashem moge odtwarzac na alsie jednoczesnie i wszystko gra
tak dla wyjasnienia dolaczam plik.
*tomek tomek $ cat /etc/asound.conf*
# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.snd_card {
type hw
card 0
}# 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"## 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 "dmix"
capture.pcm "dsnoop"
}###################
# 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
pcm.dsp0 {
type plug
slave.pcm "duplex"
}# OSS control for dsp0 (needed?...this might not be useful)
ctl.dsp0 {
type plug
slave.pcm "snd_card"
}# OSS control for dsp0 (default old OSS is mixer0)
ctl.mixer0 {
type plug
slave.pcm "snd_card"
}
*tomek tomek $*nie wiem czy mikrofon na tej konfiguracji bedzie dzialal ...
Pozdrawiam !!! Tomek
_______________________________________________ pld-users-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
