I had been hoping that I would be able to use cpal to:
- identify and access raw hardware, and discard software layers and emulations
- identify the real hardware capabilities
Primarily care about alsa, but Windows and BAS (not via emulation) are also important.
Briefly I would want to be able to reproduce the output of:
- aplay -l
- aplay -L
In particular I’d like to enumerate the native bit depths and sampling frequencies and numbers of selectable channels. (In my case for example the Intel HDMI will only open an even number of channels).
I’m not wanting any channel mapping, sample conversion, sample rate conversion, or mixing. That’s what I want to do in my app - which is a software crossover.
I’m a bit concerned that the API is quite far from allowing me to do this, and that some of the logical modelling in terms of sample sizes and endianness are quite abstracted from what the hardware might offer.
How much appetite is there to materially change the abstractions?