[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ALSA device names.



Ref. https://lists.debian.org/debian-user/2021/09/msg01112.html
    Subject: Re: Persistent names for audio devices.
    From: David Wright <deblis@lionunicorn.co.uk>
    Date: Wed, 29 Sep 2021 22:35:11 -0500
    Message-id: <20210930033511.GC22981@axis.corp>
    References: <E1mVEtB-00034Q-MM@joule.invalid> <_Vy48xSpy3r0uj8kBgbIiS_l-GGEeoinqJc5I64K4YfKpqSs7HJIz4-v6PvMpeJ609TFiLSqSiG2VbElSR5NzLAiMqSkwAjFCHI1gK1NNlc=@protonmail.com> <E1mVK2i-0003RC-1y@joule.invalid> <[] 20210928233134.GA22444@axis.corp> <[] E1mVfDB-0000cu-IE@joule.invalid>

> I think this thread has been around for a couple of years now.
> I assume the penny dropped that names like Live and ICH5 are
> the persistent items you were looking for.

Yah, 2019-10-20 a guinea wore a hole through my pocket and fell 
down a sewer grate.  =8~|  https://en.wikipedia.org/wiki/Guinea_(coin)

Ref. https://lists.debian.org/debian-user/2019/10/msg00743.html
    Subject: Re: Unidentified subject!
    From: Reco <recoverym4n@enotuniq.net>
    Date: Sun, 20 Oct 2019 18:23:08 +0300
    Message-id: <E1iMD2y-0003by-Rx@enotuniq.net>
    References: <E1iM9ab-0003Nc-IX@enotuniq.net> <E1iMCSU-0000If-8B@joule.invalid>

> Use "aplay -L" to get strings that are specific for your hardware.
> The way I see it, there's no need for these "predictable audio devices
> names", they are here already.

OK, although
surround21:CARD=Set,DEV=0
and 
surround40:CARD=Set,DEV=0
aren't atomic names.  Is the syntax and semantics explained in 
documentation?

No surround22, surround23 ... surround39 evident here. How does ALSA 
derive or find the names and numbers?

What is meant by CARD=Set?

DEV=0 turns up frequently.  What's the point?  DEV=1?

Incidentally, the AUDIODEV variable is a distraction.  Rather than 
mess with it, specify the device directly.
sox noise.WAV -t alsa plughw:CARD=ICH5,DEV=0 gain 1

Regards & thanks for the multiple earlier replies,
                                        ... P.

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


Reply to: