tech-userlevel archive

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

Re: mixerctl with no args

    Date:        Thu, 23 Feb 2017 12:01:05 +0200
    From:        Andreas Gustafsson <>
    Message-ID:  <>

  | How about the following command?
  |   (</dev/audio0) 2>/dev/null

Is it guaranteed that audio0 exists if any audio does?   Including
with kernel configs that wire down devices to specific hardware?

That is, is it possible that audio1 might exist when audio0 doesn't?

Also, is it guaranteed that all audio devices can be opened for reading,
even if the hardware is speaker only (like perhaps USB speakers)?

And yes, this really does show my ignorance of all things audio, I like
my systems to be quiet...

  | This is not just about people running tests, but anyone viewing public
  | test reports.  For example, the mixerctl test is failing here:

Yes, it would fail on a Xen DomU - that is the one case I can easily test.

I am currently building to test my mixerctl changes.  When that completes
I'll play with the test (sh ATF tests are easy to try things with...)
and come up with something better than is currently there.

Unfortunately, I have nothing running anything new that actually has
audio on which to test this,   Maybe I could make a Xen DomU with a pad0 ?
I'll try that...


Home | Main Index | Thread Index | Old Index