HomeFreeBSD

snd_ds1(4): Fix order of arguments for stereo/16bit mode
rS253645Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

snd_ds1(4): Fix order of arguments for stereo/16bit mode

This function is called 4 times in this file, with swapped parameter
ordering. Fix the function definition instead of all the call sites.
16bit/stereo or 8bit/mono playback is unaffected and was probably
working fine before, this should fix 16bit/mono and 8bit/stereo
playback.

Found by: Coverity Scan, CID 1006688

Details

Provenance
uqsAuthored on
Parents
rS253644: Add missing NULL check after malloc(M_NOWAIT).
Branches
Unknown
Tags
Unknown

Event Timeline