You are not logged in.
When I try to play videos I only see the video but there are no sound at all.
I have sound in Amarok, I can play streams and mp3's without problem so I guess Alsa is working.
What can I have missed? Where do I start.
I have tried with and without .asoundrc.
Last edited by johane (2012-08-12 10:43:40)
Offline
What did you put in .asoundrc ?
This works for me:
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
Offline
Are you using pulseaudio?
Are you using KDE? (You stated Amarok, it does not require KDE)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
What did you put in .asoundrc ?
}
Now I dont have a .asoundrc. I had one that I copied from a similiar computer. And one with just a few entries. It was the same, just sound in Amarok.
Are you using pulseaudio?
Are you using KDE? (You stated Amarok, it does not require KDE)
No I don't use Pulseaudio.
Sorry I forgot to mention, I use KDE.
Some other info about my system:
Linux 3.4.7-1-arch
KDE 4.9
Intel atom D2700
4g ram
nVidia GT 520M nVidia 304.32 (audio/video)
Offline
pcm.!default {
type hw
card 1
With that config, you're disabling dmix.
Try my ~/.asoundrc
Use the speaker-test command, to test audio. Then show the error message.
Offline
Worth reading, works as expected for a simple Phonon + Alsa setup: http://userbase.kde.org/Phonon .
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Try my ~/.asoundrc
Use the speaker-test command, to test audio. Then show the error message.
Speaker-test reports no errors and I hear the noise as I should. :-/
Wow thats a huge .asoundrc you got.
I copied it and changed card and device to my numbers and yes there is sound now but it is very distorted.
So I guess the problem is with the .asoundrc-file. I just have to get it right.
Offline
Hm. The problem is smplayer. When I start the film with mplayer I have clear sound but with smplayer it gets distorted.
Edit: Changed from 4-channel to 2 and now it sounds good.
Thank you for your help with this. :-)
Last edited by johane (2012-08-12 10:43:05)
Offline
Have you tried using the following config bits in your /etc/asound.conf? This configuration works well with Phonon and GStreamer backend. In smplayer you have to set the audio driver to alsa and it should work without a glitch.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline