On Mon, Mar 03, 2025 at 05:13:35PM -0800, Paul Goyette wrote:
> But I've always been confused with what appears to be a plethora of
> moving parts to make sound work.  It doesn't seem to be as easy as
> just-plug-in-the-speakers!

On machines with just one audio interface (and a well working driver)
it is!

If you have multiple auido output options, start with

        audiocfg list

and if the selected default is not correct use

        audiocfg default <index>

to fix it.

Then use audioplay(1) or whatever you like best from pkgsrc (I mostly use
mpg123) to just play some files.

Martin

P.S.: the "well working driver" part above refers to auto-selecting the
proper output if e.g. you connect a headphone instead of speakers; you
might have to fidle with audioctl(1), but usually this just works.

Reply via email to