2011-12-06, 10:50
Hello,
-> Can we have a more easy mode to change from one audio output to another one ?
(ex : HDMI <-> Analog)
Why ?
Because during Home Theater use, XBMC device has only it's IR remote, so:
.. if we can modify audio setup from one to another one with IR remote, modifying asound.conf is impossible on the XBMC device, without an distant networked PC or local KB/Mouse
nb : Tell me if a thread already exists, about an patch or add-on to change from one audio output to another one, in ONE only command in MENU
(I don't talk about having all the audio outputs activated at the same time)
Thanks for all
Nb: To adapt to each hardware, the user could prepare 2 or more different asound.conf files, one by desired audio output; then, the add-on could easily switch from one audio output config to another then modify itself audio setup in user audio setup menu
For example, with my ZBOX AD10 :
/configfiles/asound_ANALOG.conf
pcm.!default {
type plug
slave {
pcm "hw:1,0" #delete the first hash for sound over analog
# pcm "hw:1,1" #delete the first hash for sound over optical
# pcm "hw:0,3" #delete the first hash for sound over hdmi
rate 48000
}
}
/configfiles/asound_HDMI.conf
pcm.!default {
type plug
slave {
# pcm "hw:1,0" #delete the first hash for sound over analog
# pcm "hw:1,1" #delete the first hash for sound over optical
pcm "hw:0,3" #delete the first hash for sound over hdmi
rate 48000
}
}
ANALOG audio user setup:
Audio output = Analog
Audio output device: custom
Custom audio device: plughw:1,0
HDMI audio user setup :
Audio output = HDMI
Audio output device: HD-Audio Generic hdmi (ALSA)
Passtrough audio device: HD-Audio Generic hdmi (ALSA)
-> Can we have a more easy mode to change from one audio output to another one ?
(ex : HDMI <-> Analog)
Why ?
Because during Home Theater use, XBMC device has only it's IR remote, so:
.. if we can modify audio setup from one to another one with IR remote, modifying asound.conf is impossible on the XBMC device, without an distant networked PC or local KB/Mouse
nb : Tell me if a thread already exists, about an patch or add-on to change from one audio output to another one, in ONE only command in MENU
(I don't talk about having all the audio outputs activated at the same time)
Thanks for all
Nb: To adapt to each hardware, the user could prepare 2 or more different asound.conf files, one by desired audio output; then, the add-on could easily switch from one audio output config to another then modify itself audio setup in user audio setup menu
For example, with my ZBOX AD10 :
/configfiles/asound_ANALOG.conf
pcm.!default {
type plug
slave {
pcm "hw:1,0" #delete the first hash for sound over analog
# pcm "hw:1,1" #delete the first hash for sound over optical
# pcm "hw:0,3" #delete the first hash for sound over hdmi
rate 48000
}
}
/configfiles/asound_HDMI.conf
pcm.!default {
type plug
slave {
# pcm "hw:1,0" #delete the first hash for sound over analog
# pcm "hw:1,1" #delete the first hash for sound over optical
pcm "hw:0,3" #delete the first hash for sound over hdmi
rate 48000
}
}
ANALOG audio user setup:
Audio output = Analog
Audio output device: custom
Custom audio device: plughw:1,0
HDMI audio user setup :
Audio output = HDMI
Audio output device: HD-Audio Generic hdmi (ALSA)
Passtrough audio device: HD-Audio Generic hdmi (ALSA)