docs(twitter): add 2072194202851549432 corpus (NOTimothyLottes ALSA audio with custom struct aliasing)
2-post thread, 1 PNG, 7 likes, 1015 views. Got ALSA functioning without
SNDRV_PCM_IOCTL_HW_REFINE, only with SNDRV_PCM_IOHW_PARAMS. Custom
struct layouts aliased to ALSA's (snd_interval.interger -> .flag=4);
setting the core values is enough for the driver. Doesn't need to
set {.flags, .rmask, .info} but must set '.max=~0' for intervals not
hardcoded. Only double-buffered 48000Hz stereo, varies frames/period
sizing. Same pattern as the bind-everything-once aliasing: write
custom struct, alias to what the API expects, set only the core
fields you control. 'Minimal ABI surface' approach.
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 724 KiB |
|
After Width: | Height: | Size: 993 KiB |
|
After Width: | Height: | Size: 838 KiB |
|
After Width: | Height: | Size: 1.5 MiB |
|
After Width: | Height: | Size: 775 KiB |
|
After Width: | Height: | Size: 342 KiB |
|
After Width: | Height: | Size: 545 KiB |
|
After Width: | Height: | Size: 394 KiB |
|
After Width: | Height: | Size: 1.8 MiB |
|
After Width: | Height: | Size: 5.4 MiB |
|
After Width: | Height: | Size: 368 KiB |
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 367 KiB |
|
After Width: | Height: | Size: 983 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 5.7 KiB |
@@ -0,0 +1,25 @@
|
||||
---
|
||||
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.
|
||||
|
||||

|
||||
|
||||
## 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.
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"root_post_id": "2072194202851549432",
|
||||
"posts": [
|
||||
{
|
||||
"post_id": "2072194202851549432",
|
||||
"author": "NOTimothyLottes",
|
||||
"handle": "NOTimothyLottes",
|
||||
"text": "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.",
|
||||
"timestamp": "2026-07-01 05:42:52",
|
||||
"media_urls": [
|
||||
"https://pbs.twimg.com/media/HMHoiZAWcAAjn6j?format=png&name=orig"
|
||||
],
|
||||
"reply_to_id": null,
|
||||
"quote_of_id": null,
|
||||
"metrics": {
|
||||
"reply_count": 1,
|
||||
"repost_count": 0,
|
||||
"like_count": 7,
|
||||
"view_count": 1015
|
||||
}
|
||||
},
|
||||
{
|
||||
"post_id": "2072195623265178013",
|
||||
"author": "NOTimothyLottes",
|
||||
"handle": "NOTimothyLottes",
|
||||
"text": "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.",
|
||||
"timestamp": "2026-07-01 05:48:30",
|
||||
"media_urls": [],
|
||||
"reply_to_id": "2072194202851549432",
|
||||
"quote_of_id": null,
|
||||
"metrics": {
|
||||
"reply_count": 0,
|
||||
"repost_count": 0,
|
||||
"like_count": 1,
|
||||
"view_count": 464
|
||||
}
|
||||
}
|
||||
],
|
||||
"source_url": "https://x.com/NOTimothyLottes/status/2072194202851549432"
|
||||
}
|
||||
|
After Width: | Height: | Size: 312 KiB |
|
After Width: | Height: | Size: 513 KiB |
|
After Width: | Height: | Size: 825 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 446 KiB |
|
After Width: | Height: | Size: 787 KiB |
|
After Width: | Height: | Size: 234 KiB |
|
After Width: | Height: | Size: 477 KiB |
|
After Width: | Height: | Size: 1.2 MiB |
|
After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 1008 KiB |
|
After Width: | Height: | Size: 588 KiB |
|
After Width: | Height: | Size: 634 KiB |
|
After Width: | Height: | Size: 323 KiB |
|
After Width: | Height: | Size: 539 KiB |