Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Generic_1
HD-Audio Generic, ALC282 Analog
Default Audio Device
sysdefault:CARD=Generic_1
HD-Audio Generic, ALC282 Analog
Default Audio Device
front:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC282 Analog
Front speakers
surround40:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC282 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC282 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC282 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC282 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic_1,DEV=0
HD-Audio Generic, ALC282 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Generic,DEV=0
HD-Audio Generic, HDMI 0
HDMI Audio Output
Sound from all sources, including xine, works fine for normal use. My problem is when I try to send the sound to my HDMI output from xine. I am able to send sound to the HDMI output with no problems from aplay, phonon, mplayer.
When using xine I set audio.output.speaker_arrangement=Pass through and audio.driver=auto (I am actually using the gui). With those set I also set audio.device.alsa_passthrough_device=hw:1,3 or audio.device.alsa_passthrough_device=hdmi:CARD=Generic,DEV=0. But the only sound I get sounds like a flock of neurotic woodpeckers. I tried the iecset command from the alsa.opensrc.org page listed above. With iecset audio 1 I get no sound and the TV complains about a bad sound signal. Either the hw or hdmi device can be used without difficulty with for example aplay.
Obviously I am missing something. Any suggestions?
some additional information:
If I use -ac hwac3 with mplayer I get the same neurotic woodpecker effect. Leaving that out mplayer works fine and shows that it is using ffmpeg to do the decoding and ffmpeg reports the audio to be ac3.
solved: how xine handles audio changes depending on the speaker arrangement selected. It doesn't just select an output as I was assuming. Using the same speaker arrangement as I normally use and setting that output device to the hdmi output works.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.