Stopping Sound from disapearing
#1
If im watching a movie that's in either DD or DTS and someone hits the power off button without stopping the movie first, then next time I start up I lose stereo sound for music, sounds etc.

Not a problem, I use
Code:
/usr/bin/iecset audio on
and it brings sound straight back.


This is where my limited understanding of Linux comes into play.
Can I just put the above command in a start up file to execute each time XBMC starts ? ( then there shouldn't ever be a problem with the sound going off )
If so where do you put it ?

I`m using a minimal install of Ubuntu 8.04 as in THIS guide

Thanks
Reply
#2
Dunno, but i've been using this method so far which is a little bit complicated. I'll give this a try :cool2:
Reply
#3
toiva Wrote:Dunno, but i've been using this method so far which is a little bit complicated. I'll give this a try :cool2:

That method doesn't work for me.
I think it depends on what sound device you have.
Reply
#4
Sorted for good Smile

After some more reading around and learning.

If the above command brings back your audio then this may work for you too.

Create a script in /etc/init.d called restoreaudio
Code:
sudo vi /etc/init.d/restoreaudio

Inside the script type
Code:
/usr/bin/iecset audio on
save and quit


then you need to run
Code:
sudo update-rc.d restoreaudio defaults


to finish off you then need to make it executable
Code:
sudo chmod +x /etc/init.d/restoreaudio


I can now turn off XBMC during a movie just by clicking the on/off button without the hassle of losing the audio on restart.
Masively increasing the Missus Acceptance Factor Big Grin
Reply
#5
I set up a script on that I ran to switch between pcm audio and data (like DTS). I added it to the video interface for xbmc. And I'd would manually switch between the 2 cause I thought I had no other choice. A week ago I got a new receiver and found out that newer receivers can detect the difference without my interaction....

Just a thought.
Reply

Logout Mark Read Team Forum Stats Members Help
Stopping Sound from disapearing0