How to change audio input using linux

Moderators: snarkout, Patrick, dann, dmfrey

Post Reply
User avatar
spotslayer
Posts: 184
Joined: Thu Dec 28, 2006 9:01 am
Location: Texas
Contact:

How to change audio input using linux

Post by spotslayer » Wed May 12, 2010 7:12 am

Morning, How can I change the audio input for my hdpvr? I have the setting set in myth to use the optical input, but get no sound when I use it. I check the setting below and audio is set rca back. Can I change this setting using linux? I don't have ready access to a windows computer to run the bundled program. I have one other issue for the next question, but want to solve one at a time.

David

david@mythbox:~$ v4l2-ctl --all --device=/dev/video0 -l
Driver Info:
Driver name : hdpvr
Card type : Haupauge HD PVR
Bus info : usb-0000:00:13.5-3
Driver version: 512
Capabilities : 0x01020001
Video Capture
Audio
Read/Write
Video input : 0 (Component)
Audio input : 0 (RCA back)
Video Standard = 0x0000b000

User avatar
spotslayer
Posts: 184
Joined: Thu Dec 28, 2006 9:01 am
Location: Texas
Contact:

Re: How to change audio input using linux

Post by spotslayer » Wed May 12, 2010 8:05 pm

I have been googling for an hour or so and came up with this.

sudo v4l2-ctl --set-audio-input=2

This will work temporarily. A reboot will set back to default. I may just take the approach Pat wrote in his blog and use stereo to avoid problems. I would like surround sound if I can figure out how to set this permanently. the sound sync was way off. Still have one major issue but need to work on it a bit more.

D

Post Reply