Switch from differents audio output easily ?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mikebzh44 Offline
Posting Freak
Posts: 1,056
Joined: Nov 2011
Reputation: 18
Location: Nantes - France
Question  Switch from differents audio output easily ? Post: #1
Hello.

I was a Windows 7 Media Center user and a guy have developped a little plugin for easily switch from HDMI to OPTICAL for exemple.

Now, I'm using XBMC on a HTPC running under OpenELEC 1.0.2 and I'm looking for the same feature. Because, I think it's useless to use my A/V recever just for watching series with 2.0 audio track Frown

I've made some easy addon and I think that I'm quite able to do this addon.

This addon could work this way :
- set up audio output #1 in XBMC (HDMI, optical, ...)
- with the addon, backup guisettings.xml to guisettings_HDMI.xml for example.
- set up audio output #2 in XBMC (HDMI, optical, ...)
- with the addon, backup guisettings.xml to guisettings_OPTICAL.xml for example.

After that, it will be easy to switch from HDMI to optical by restoring the good guisettings.xml.

But how to make this change effective to XBMC ? Which command is use when you change your output in the settings ?

[Image: screenshot00939.png]

Tanks.
find quote
bryanchicken Offline
Member
Posts: 68
Joined: Apr 2006
Reputation: 0
Post: #2
i _think_ you can do this already using the profiles functionality. Set 1 profile up to use HDMI and another to use optical.
Then you just switch profiles to change.

I've not tried this yet though
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,056
Joined: Nov 2011
Reputation: 18
Location: Nantes - France
Post: #3
I will try the profiles functionality.
find quote
Jean-Max Offline
Senior Member
Posts: 136
Joined: Oct 2010
Reputation: 0
Location: France
Smile    Post: #4
mikebzh44 Wrote:I will try the profiles functionality.
Waiting for the result of your test !

Switching easily (in one only Menu command) from an audio output to another one, would be so useful !

Thanks Smile

Jean-Max
- ZBOX HD-ID11: 4Go RAM - Openelec Eden Ion 2.0 X86-64 (SSD Intel 40Go)
- ZBOX Nano AD10: 4Go RAM - Openelec Eden Fusion 2.0 X86-64 (SSD Intel 40Go)
- XBMC Windows Frodo 12.0 Final on 3 PC W7 + 1 PC XP
- Skin: Confluence-MOD 2
- XBMC media data on Thecus N7700 NAS (7*1To, Raid 5, SMB Shares)
- HDHomerun DVB-T netw tuner
find quote
Jean-Max Offline
Senior Member
Posts: 136
Joined: Oct 2010
Reputation: 0
Location: France
Sad    Post: #5
Hello,

Yesterday night, I created on my Zbox AD10 one profile with user audio setup set to HDMI and another one, set to Analog

Choosing HDMI Profile when boot : HDMI audio OK
Choosing Analog Profile when boot : Crash AD10 and all freeze : I must reboot from Putty or switch off/on the AD10
nb : Master profile (= previous setup) is on HDMI audio like it was before

-> Why Analog audio profile crashes ?
Perhaps because the /configfiles/asound.conf file has not been manually modified and is again in HDMI audio mode like it was before I created the 2 new profiles ?

Any idea ?

Thanks Smile

Jean-Max
- ZBOX HD-ID11: 4Go RAM - Openelec Eden Ion 2.0 X86-64 (SSD Intel 40Go)
- ZBOX Nano AD10: 4Go RAM - Openelec Eden Fusion 2.0 X86-64 (SSD Intel 40Go)
- XBMC Windows Frodo 12.0 Final on 3 PC W7 + 1 PC XP
- Skin: Confluence-MOD 2
- XBMC media data on Thecus N7700 NAS (7*1To, Raid 5, SMB Shares)
- HDHomerun DVB-T netw tuner
find quote