Skip to contentSkip to conversation

params argument to `SNDRV_PCM_IOCTL_SW_PARAMS` should be pointer

DISCUSSION GitHub issues - opened 1 participant 1 message Jun 14, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-lib issue #329 was opened from dancrossnyc:

Commit 2115cdb4d added a call to the SNDRV_PCM_IOCTL_SW_PARAMS ioctl on line 675 of src/pcm/pcm_hw.c, but passes the sw_params argument by value; this should be passed by pointer.

I ran across this in the context of the direwolf software modem for amateur radio; debugging details are in https://groups.io/g/direwolf/message/8286.

The patch is trivial; I will send a PR.

Thanks!

Issue URL : https://github.com/alsa-project/alsa-lib/issues/329
Repository URL: https://github.com/alsa-project/alsa-lib