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


Groups > linux.debian.user > #240518

Re: Persistent names for audio devices.

From peter@easthope.ca
Newsgroups linux.debian.user
Subject Re: Persistent names for audio devices.
Date 2021-09-29 00:10 +0200
Message-ID <D2tst-2or-7@gated-at.bofh.it> (permalink)
References (4 earlier) <CGAU2-4Ir-13@gated-at.bofh.it> <CGDId-6o7-1@gated-at.bofh.it> <CH1rb-3Fb-1@gated-at.bofh.it> <D2nGp-79Q-11@gated-at.bofh.it> <D2pfb-8aR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


    From: Greg Wooledge <greg@wooledge.org>
    Date: Tue, 28 Sep 2021 13:32:02 -0400
> Are you in csh/tcsh? 

I haven't set a shell.  According to https://wiki.debian.org/Shell 
it's bash.

> If you're in a more "normal" shell (bash or zsh),
> that set command doesn't do anything useful.  Certainly nothing that
> would affect the play command.

Now that there is only one internal sound device this seems right.
play a42.WAV

> ... "set" sets shell
> variables, and you need "setenv" to set environment variables (which
> could conceivably affect the play command). 

If the sound card is replaced, will try this sort of thing.
setenv AUDIODEV=plughw:CARD=ICH5,DEV=0 ; play a42.WAV

with present /dev/ names I guess something similar to this is out of 
the question.
sox a42.WAV /dev/snd/blaaaa

Device names are used for storage devices and for network adapters.  
Why not for sound devices?

I expected to find relevant examples in a manual page or wiki page.  No 
such luck. Sorry to repeat but documentation needs attention.

Thanks,                       ... P.

-- 
48.7693 N 123.3053 W
mobile: +1 778 951 5147
  VoIP: +1 604 670 0140

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-28 18:00 +0200
  Re: Persistent names for audio devices. ghe2001 <ghe2001@protonmail.com> - 2021-09-28 19:30 +0200
    Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-28 23:40 +0200
      Re: Persistent names for audio devices. David Wright <deblis@lionunicorn.co.uk> - 2021-09-29 01:40 +0200
        Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-29 22:40 +0200
          Re: Persistent names for audio devices. David Wright <deblis@lionunicorn.co.uk> - 2021-09-30 05:40 +0200
            Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-30 19:10 +0200
  Re: Persistent names for audio devices. Greg Wooledge <greg@wooledge.org> - 2021-09-28 19:40 +0200
    Re: Persistent names for audio devices. Nils <tuxifan@posteo.de> - 2021-09-28 20:00 +0200
      Re: Persistent names for audio devices. Tixy <tixy@yxit.co.uk> - 2021-09-28 21:20 +0200
    Re: Persistent names for audio devices. peter@easthope.ca - 2021-09-29 00:10 +0200
      Re: Persistent names for audio devices. Greg Wooledge <greg@wooledge.org> - 2021-09-29 00:20 +0200
      Re: Persistent names for audio devices. <tomas@tuxteam.de> - 2021-09-29 09:00 +0200
        Re: Persistent names for audio devices. David <bouncingcats@gmail.com> - 2021-09-29 13:00 +0200

csiph-web