Repository navigation
Conversation
api.alsa.skip-formats-before-s16 skipped every entry before the S16 ones in format_info[], so a sound card that only supports e.g. S24 ended up with no format at all and enum_pcm_formats() returned -ENOTSUP, making the device disappear. Retry the enumeration without the filtering when nothing is left. The retry is bounded by a local flag, so a card without any usable format still fails with the existing "no format found" warning instead of looping, and devices that do support S16 keep the bandwidth workaround. The patch is refreshed in place, no new quilt patch is added. PMS: 361545 Signed-off-by: qaqland <anguoli@uniontech.com>
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
TAG Bot TAG: 1.6.4-1deepin30 |
|
/hold |
|
TAG Bot New tag: 1.6.4-1deepin30 |
api.alsa.skip-formats-before-s16skipped every entry before the S16 ones informat_info[], so a sound card that only supports e.g. S24 ended up with no format at all andenum_pcm_formats()returned-ENOTSUP, making the device disappear.Retry the enumeration without the filtering when nothing is left. The retry is bounded by a local flag, so a card without any usable format still fails with the existing "no format found" warning instead of looping, and devices that do support S16 keep the bandwidth workaround.
The patch is refreshed in place, no new quilt patch is added.
PMS: 361545