On Sun, Jun 19, 2016 at 05:56:38PM +0200, Sebastien Marie wrote: > > Just one point about the man page: > > Test if the hardware supports 24-bit encoding and 44100Hz sample rate: > > $ audioctl -f /dev/audio0 encoding=s24 rate=44100 > > "Test" is somehow incorrect as if the device supports it, the values > will be changed: so it is more than just testing.
Correct, what about the following: Request the hardware to use signed 24-bit samples and 44100Hz sample rate: $ audioctl -f /dev/audio0 encoding=s24 rate=44100 Note the use of /dev/audio0 to force negotiation with the hardware. If above parameters are not supported by the hardware, then supported ones will be selected instead.