Files
2026-08-25 16:26:52 -04:00

1.3 KiB

title, type, source, source_url, author, handle, post_id, date, archived, draft, tags, description, in_reply_to
title type source source_url author handle post_id date archived draft tags description in_reply_to
Did manage to get ALSA to function without SNDRV_PCM_IOCTL_HW_REFINE and only with SNDRV_PCM_IOCTL_HW_PARAMS. archive twitter https://x.com/NOTimothyLottes/status/2072194202851549432 NOTimothyLottes NOTimothyLottes 2072194202851549432 2026-07-01 2026-08-23 false
archive
twitter
NOTimothyLottes
Did manage to get ALSA to function without SNDRV_PCM_IOCTL_HW_REFINE and only with SNDRV_PCM_IOCTL_HW_PARAMS.

Source

Thread

1/ @NOTimothyLottes ^2072194202851549432

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.

2/ @NOTimothyLottes ^2072195623265178013

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.