Pete wrote, on 13-06-2019 23:38:
> In a previous thread I mentioned that I'm using omxplayer
> to play audio (streams), but others said they were just
> using mpg123, which seems more reasonable. However, I'm
> feeding the audio to my sound system through the audio
> jack, and I can't get mpg123 to do that. It insists
> on going through HDMI, which I usually don't want.
> (I log in via SSH from other machines)
>
> I assume I'm likely being stupid, but I've been playing
> for a while without luck. Can somebody help?
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).
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|