Files

1.1 KiB

Back to Twitter thread index


title: "Did manage to get ALSA to function without SNDRV_PCM_IOCTL_HW_REFINE and only wi" author: "NOTimothyLottes" handle: "@NOTimothyLottes" post_url: "https://x.com/NOTimothyLottes/status/2072194202851549432" post_id: "2072194202851549432" timestamp: "2026-07-01 05:42:52" post_count: 2 reply_count: 1 repost_count: 0 like_count: 7 view_count: 1015

@NOTimothyLottes — Did manage to get ALSA to function without SNDRV_PCM_IOCTL_HW_REFINE and only wi

Post 1 (2026-07-01 05:42:52)

Did manage to get ALSA to function without SNDRV_PCM_IOCTL_HW_REFINE and only with SNDRV_PCM_IOCTL_HW_PARAMS. My structures are different but aliased (snd_interval.interger -> .flag=4). Apparently setting the core values is enough for the driver.

Media 1

Post 2 (2026-07-01 05:48:30) — reply to Post 1

Don't actually have to set {.flags,.rmask,.info} on my machine. Absolutely do have to set ".max=~0" for the intervals not being hardcoded. I only do double buffered, 48000Hz stereo, and just vary the frames/period sizing.