Sound Problems/ca: Difference between revisions

From KDE UserBase Wiki
(Created page with "Phonon usa una funció introduïda en ALSA 1.0.14 per trobar aquests dispositius. Perquè aquesta funció mostri la vostra entrada necessit...")
(Created page with "{{Input|1= hint { show on description "Nom a mostrar per al dispositiu" } }}")
Line 25: Line 25:
{{Input|1= hint {
{{Input|1= hint {
     show on
     show on
     description "Name to display for the device"
     description "Nom a mostrar per al dispositiu"
  }
  }
}}
}}

Revision as of 22:48, 18 March 2011

Entenent el so

Amb la finalitat d'entendre el so en KDE, haeu de comprendre el so en Linux (aquest capítol assumeix que esteu executant KDE en Linux). Hi ha dos tipus de sistemes de so que s'executen en Linux: ALSA i OSS. Tots dos proporcionen els seus propis controladors per a les targetes. ALSA només funciona en Linux, mentre que OSS funciona en molts sistemes UNIX. ALSA permet que diverses aplicacions tinguin accés alhora a la targeta de so, OSS no. OSS proporciona un dispositiu per a sortida de so, i a aquest dispositiu només pot hi accedir una aplicació alhora. Per a reduir la confusió, ALSA emula a OSS i també proporciona un dispositiu com a interfície per a la targeta de so. Tant ALSA com OSS normalment criden al dispositiu de la targeta de so /dev/dsp. PulseAudio, en algunes distribucions, proporciona una altra capa sobre aquestes. El seu treball és gestionar diversos fluxos, de manera que, per exemple, pugueu rebre una notificació de missatge mentre escolteu música.

Els problemes habituals de so són

  • No podeu reproduir so perquè esteu usant una aplicació que intenta accedir al dispositiu de so /dev/dsp, però aquest dispositiu ja està sent usat per una altra aplicació.
  • No podeu usar el mesclador del sistema kmix per ajustar el volum d'una aplicació usant el dispositiu de so /dev/dsp.
  • Aplicacions diferents reprodueixen sons usant dispositius diferents.

Solucions: No hi ha una bala de plata per a resoldre tots els problemes de so. La solució depèn de l'aplicació que utilitzeu per a reproduir so. Com a exemple, podeu usar mplayer amb ALSA i OSS. Per a més informació, mireu la documentació de mplayer escrivint:

mplayer -ao help

Aquestes són algunes qüestions específiques que us poden interessar.

KDE 4 utilitza el dispositiu de so equivocat.

Això no és un error, sinó un problema de configuració. Per indicar-li a KDE 4 quina targeta de so usar (o preferir si està disponible), obriu Arranjament del sistema i aneu a Multimèdia en la pestanya General.

Els dispositius de /etc/asound.conf o ~ /.asoundrc no estan llistats.

Phonon usa una funció introduïda en ALSA 1.0.14 per trobar aquests dispositius. Perquè aquesta funció mostri la vostra entrada necessiteu afegir una indicació (hint) del nom. Per exemple:

hint {
     show on
     description "Nom a mostrar per al dispositiu"
 }

Here is a complete example that adds a new volume control named Phonon to your mixer:

pcm.softvolPhonon {
     type softvol
     slave.pcm "default:CARD=0"
     control {
         name "Phonon"
         card 0
     }
     min_dB -51.0
     max_dB 0.0
     resolution 100
     hint {
         show on
         description "My Soundcard with extra Volume Control"
     }
 }

After an update, PulseAudio gives you very low volume

PulseAudio has a 'normaliser' function which can cause this. To turn it off, set flat-volumes = no in /etc/pulse/daemon.conf


You are using KDE 3 and you keep losing sound. Sometimes it works, sometimes it doesn't.

KDE 3.x uses the aRts sound system. In earlier versions there were a number of problems, but in recent years the only problem remaining seems to be that aRts hangs on to the sound system when it has finished with it. To cure this, use kcontrol -> Sound & Multimedia. Towards the bottom of the General tab there is a setting for Auto-suspend if idle after: Set this to 1 second.

You have multimedia keys but KDE doesn't recognise them

This link has a clear description of what one user did to make his Volume-up and Volume-down keys work.

You tried all of the above but it still doesn't work (Ubuntu variants only)

Try replacing your sound card. If you still don't hear sound, check out this Ubuntu Community page

You want to use an External Sound Card

See the External Sound Card page