You are not logged in.

#1 2011-07-06 20:43:07

ari
Member
Registered: 2011-06-26
Posts: 3

[SOLVED] Switching between outputting sound from TV and laptop

Hi there!

A while ago I managed to have my TV (HDMI) output the sound from my laptop - I believe this was done by editing ~/.asoundrc so that HDMI would be my default audio device..
So my question is, is it possible to easily switch between having my TV and laptop output the sound? I remember that in Ubuntu, you could easily switch between Analog Stereo and Digital Stereo (HDMI) Output under Hardware @ Sound Preferences (picture below). Is there any similar alternative for Arch Linux?
MOD EDIT -- Follow image posting rules --Inxsible

Last edited by ari (2011-07-09 11:34:37)

Offline

#2 2011-07-08 20:32:36

Glaucous
Member
Registered: 2010-11-06
Posts: 41

Re: [SOLVED] Switching between outputting sound from TV and laptop

I made a little script for the same reason.
http://codepad.org/VZ4HLaPY
And my .asoundrc looks like this..
http://codepad.org/HMGG72a3

Just add/remove outputs (same pattern), and use the script to change output. Please note that the change will only take place for recently launched applications (i.e. restart applications to take effect).

Offline

#3 2011-07-09 11:34:21

ari
Member
Registered: 2011-06-26
Posts: 3

Re: [SOLVED] Switching between outputting sound from TV and laptop

Thank you so much <3!

Offline

Board footer

Powered by FluxBB