Hola:
De nou donant-li voltes a ALSA.
El tinc configurat de modo que em sona de conya quant veig pelis amb só 5.1, 
fent servir el fitxer .asoundrc que passo:
===============.asoundrc===============
pcm.nforce-hw {
type hw
card 0
}

pcm.!default {
type plug
slave.pcm "nforce"
}

#0,0 is analog out (i.e. headphone socket on the shuttle), and 0,1 is 
#spdif out.

pcm.nforce {
type dmix
#type kmix
ipc_key 1234
slave {
pcm "hw:0,1"
period_time 0
period_size 1024
buffer_size 32768
rate 48000
}
}

ctl.nforce-hw {
type hw
card 0
}

#Everything else is as per the intel8xO sound card matrix.

#HINTS
#-----
#o) KDE
#By default KDE uses artsd to mix sounds, but since we are using the 
#dmix plugin this is no longer necessery. artsd holds the device in 
#such a way that it blocks any other programs from generating sound 
#output (unless they have an artsd plugin) which causes programs like 
#xmms, xine and even alsaplayer to just hang.

#With the above .asoundrc, you can go into KDE, load the control panel 
#and turn off artsd and all sounds will work fine.

#o) Noise / pops and interferance with aplay and KDE.
#I found that with this .asoundrc I was getting annoying pops and 
#spikes at the end of sound clips when played with aplay (KDE uses 
#aplay to play sound clips such as the login / logout wav files). The 
#problem appeared to be with the CVS alsa-utils. I de-installed those 
#and then installed older ones (I used emerge in Gentoo which I think
#loads version 9.2)
================================
Tot buscant a les pàgines de ALSA, he trobat un consell pero poder sentir els 
sons del sistema, per Debian i KDE: al panell de control, fer servir el OSS 
amb fils i per fí no tinc el ditxòs missatge d'error al iniciar KDE.
Però els sons segueixen sense sonar, suposo que perquè el sistema fa servir 
per defecte aplay.
(He probat a posar com a reproductor exter Kaboodle i sonen, però cada cop 
s'obra la finsetrete del Kaboodle i es un conyàss)
Si obro una consola i li dic, senzillament aplay, em trobo això:
===================
[EMAIL PROTECTED]:~$ aplay
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D1p failed: No 
such device
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
aplay: main:508: audio open error: No such device
[EMAIL PROTECTED]:~$
========================
I si executo alsaplayer, em trobo això:
============================
[EMAIL PROTECTED]:~$ alsaplayer
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D1p failed: El 
dispositiu no és vàlid
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: El dispositiu no és vàlid (default)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D1p failed: El 
dispositiu no és vàlid
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: El dispositiu no és vàlid (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN.      YOU WILL NOT HEAR SOUND!!
==========================================
Suposo que serà una tontería arreglar-ho, però no ho entenc....:-(

¿Algú tè idea de com fer-ho?
Ja em veig creant un usuari només per veure les pelis amb so 5.1....

Gràcies anticipades.


-- 

Salutacions,

Josep

Respondre per correu electrònic a