1.4 KiB
1.4 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 | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Deterrent to ALSA is just parsing through snd_pcm_open() source. | archive | https://x.com/NOTimothyLottes/status/2070734717825986566 | NOTimothyLottes | NOTimothyLottes | 2070734717825986566 | 2026-06-27 | 2026-08-23 | false |
|
Deterrent to ALSA is just parsing through snd_pcm_open() source. |
Source
- URL: https://x.com/NOTimothyLottes/status/2070734717825986566
- Author: NOTimothyLottes (@NOTimothyLottes)
- Posted: 2026-06-27 05:03:23
Thread
1/ @NOTimothyLottes ^2070734717825986566
Deterrent to ALSA is just parsing through snd_pcm_open() source. It's death by boiler plate and complexity. Tinyalsa isn't much better. Likely easier to think about this from perspective of devices that can be open()ed from /dev/snd. On my machine doesn't seem to hot plug
2/ @NOTimothyLottes ^2070735722043023873
Assuming 'p'&'c' are PLAYBACK & CAPTURE, so opening different devices (instead of both in one device). Then just have user provide a device, or have the API war-dial open() constructing possible devices to probe what is available 'pcmC{c}D{d}{p|c}'. Easier than listing files.