Comment 0 for bug 1923841

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

[Impact]
Audio gets recorded by "arecord" has really bad sound quality when the volume is low.

[Fix]
Switch the default audio format from 8 bits to 16 bits if hardware supports it.

[Test]
1. Plug a microphone.
2. Run `arecord | aplay` and say something to the microphone.
3. Only noise can be heard.

With the fix applied, the recording is clear.

[Where problems could occur]
If there's any hardware falsely advertised to support 16 bits, this change will break them.
However, this is effectively using `arecord -f cd` or `arecord -f cdr`, so that's not likely.