Private
Public Access
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.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user