TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: A. DUMAS
from: PETE
date: 2019-06-14 21:21:00
subject: Re: mpg123 to audio jack?

In article ,
A. Dumas  wrote:
>
>The player program doesn't determine where the output goes, the system
>does that. In a terminal window:
>
>amixer cset numid=3 1
>
>where the second parameter is: 0=auto (default), 1=jack, 2=hdmi
>Doesn't need sudo and persists across reboots. I think it can also be
>set via raspi-config (which does need sudo, although maybe not for this
>setting, I never tried).

Ahh.  I have vague memories now of going through that when I was
trying to get omxplayer to output to the jack.  It *didn't* work
there, because it turns out that with omxplayer you have to use
the "--adev local" option to redirect the output.  I guess it
doesn't use alsa.

As sometimes I do want audio out via hdmi -- playing a video for instance --
it's probably more convenient to stick with omxplayer, as there's really
nothing wrong with the job it does.

Thanks.

 -- Pete --

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.