tech-userlevel archive

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

Re: mixerctl with no args



Robert Elz wrote:
>   |   (</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?

I suppose this is possible, but I think such cases would be rare enough
that there is no harm in skipping the tests on those.  Would the tests
even work if there is no audio0?

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

Same thing there.
-- 
Andreas Gustafsson, gson%gson.org@localhost


Home | Main Index | Thread Index | Old Index