Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #20288

Re: mpg123 to audio jack?

From neverland@GOODEVEca.net (Pete)
Newsgroups comp.sys.raspberry-pi
Subject Re: mpg123 to audio jack?
Date 2019-06-14 21:21 +0000
Organization Very little...
Message-ID <qe134t$1atg$1@gioia.aioe.org> (permalink)
References <qdufp2$1lg9$1@gioia.aioe.org> <qdv9tq$u2n$1@dont-email.me>

Show all headers | View raw


In article <qdv9tq$u2n$1@dont-email.me>,
A. Dumas <alexandre@dumas.fr.invalid> 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 --

Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

mpg123 to audio jack? neverland@GoodeveCa.net (Pete) - 2019-06-13 21:38 +0000
  Re: mpg123 to audio jack? Roger Bell_West <roger+csrp201906@nospam.firedrake.org> - 2019-06-13 22:56 +0000
  Re: mpg123 to audio jack? "A. Dumas" <alexandre@dumas.fr.invalid> - 2019-06-14 07:04 +0200
    Re: mpg123 to audio jack? neverland@GOODEVEca.net (Pete) - 2019-06-14 21:21 +0000
      Re: mpg123 to audio jack? "A. Dumas" <alexandre@dumas.fr.invalid> - 2019-06-15 10:06 +0200
        Re: mpg123 to audio jack? neverland@GOODEVEca.net (Pete) - 2019-06-16 18:27 +0000
  Re: mpg123 to audio jack? The Natural Philosopher <tnp@invalid.invalid> - 2019-06-14 09:25 +0100

csiph-web