No sound in movies, sound only in MP3

I have to recreate a new version of my old thread about my laptop Lenovo Thinkpad EDGE(13) sound trouble. At this point I simply have no clue and tired of trying to fix it. Well after reboot I have no sound in movies, only mp3 has sound, and I can play them via any player. Well to make my video have sound I have to always yast>sound> and manualy setup my Azalia(HDA intel) driver “Fix DMA pointer” to “0” value and my “Use single command to communicate with codecs” to “0” value also, then everything starts to work until next reboot. I don’t know why the config is reseted always. I installed new kernel even in hope that my soundcard would work properly, but nothing changed. I reported a bug even, but dunno whether it will be fixed or not, now, I just need some help, if I can write my sound config manually and save it so it is not reseted or anything. Or maybe I can write a script that at autostart will write the desired config for my soundcard, just anything. I’m frustrated at this point, so need some help with coding as I don’t know bash, so I cant do it myself, I need code so I could make a script out of it, or any help to support my hopes.

an update, just now, I configured my soundcard to 0-0 values and started a movie, it worked and had sound, than I started my qmmp player that uses ALSA-plugin as output and my HDAATI SB as my mixer, and when playing a mp3 file a wanted to listen to movie, there came no sound from movie again! Afterwards I stopped qmmp and restarted my movie, now it had sound. So mp3 and video cannot be run simultaneously otherwise it causes shutdown of one source. What do I do?

Not being able to have two applications play sound at the same time is classic Linux behaviour. Sometimes one application will close, but will behave badly and refuse to let go the sound device, and when that happens typically no device will be able to play any sound, until the alsa sound driver is restarted. One way to restart the alsa sound driver is to type in a terminal as a regular user:

su -c 'rcalsasound restart' 

and enter root password when prompted. If using KDE you do NOT need to keep any old configurations if prompted in a dialog box, and you should restart ‘kmix’ as a regular user. And if using gnome you need to restart gnome’s mixer (alsamixer ? ).

Some users are able to have multiple applications share the same sound device by using the ALSA API driver on their desktop and in their applications, … but that only works for some hardware. Other users are able to have multiple applications share the same sound device by using Pulse Audio. I found Pulse Audio buggy and I can not help (at this time) with any pulse audio approach.

I see, thank you, being a windows user for a long long time still I find it very disappointing for Linux to still behave this way, but I shall stick to Linux anyway)

Some of us are with Linux ARE able to play sound with multiple applications at the same time … I even have one thread where I user dislikes this and he is trying to stop it !! … but this tends to be hardware specific.

If using KDE you could try setting your desktop to use the xine backend (with the libxine1 and xine-ui from packman packagers installed) and with xine-ui tune the output audio mode to use the ALSA API or the ALSA emulated OSS. And also in every application do the same (selecting the ALSA API or ALSA emulated OSS).

If using Gnome you could try tuning pulse audio to allow your applications to use the same audio device at the same time. I’m NOT a gnome user so I can not help there. I note this article for pulse audio but in all due honesty I have no idea as to how relevant it may be: SystemWideInstance

thanks, I’ll check it out.
" I even have one thread where I user dislikes this and he is trying to stop it !!" hehe, omg