{ "root_post_id": "2073110092447203466", "posts": [ { "post_id": "2073096069529907441", "author": "NOTimothyLottes", "handle": "NOTimothyLottes", "text": "Following the succession (thanks) of re-trying WASAPI using this example which has been pre-minimized and de-C++'ed: https://gist.github.com/mmozeiko/5a5b168e61aff4c1eaec0381da62808f#file-win32_wasapi-h - But I'm missing something on how to get the C++ as C linking to function (cross compiling), doesn't easily work out of the box.", "timestamp": "2026-07-03 17:26:33", "media_urls": [ "https://pbs.twimg.com/media/HMUdajFXEAAiaQE?format=png&name=orig" ], "reply_to_id": null, "quote_of_id": null, "metrics": { "reply_count": 1, "repost_count": 0, "like_count": 8, "view_count": 1123 } }, { "post_id": "2073098899896598550", "author": "NOTimothyLottes", "handle": "NOTimothyLottes", "text": "Of course I'm missing the magic header that does the real work ... curious how messy this will get", "timestamp": "2026-07-03 17:37:48", "media_urls": [ "https://pbs.twimg.com/media/HMUgZcyWQAA263a?format=jpg&name=orig" ], "reply_to_id": "2073096069529907441", "quote_of_id": null, "metrics": { "reply_count": 2, "repost_count": 0, "like_count": 4, "view_count": 335 } }, { "post_id": "2073110092447203466", "author": "NOTimothyLottes", "handle": "NOTimothyLottes", "text": "So instead of the massive \"mmdeviceapi.h\" mess-ware, I defined a stupid CPP_(object,virtual_function_number) macro. This way I just have to write down the index in the VT table for the specific virtual function ...", "timestamp": "2026-07-03 18:22:17", "media_urls": [ "https://pbs.twimg.com/media/HMUqNm_XIAA0JEP?format=png&name=orig" ], "reply_to_id": "2073098899896598550", "quote_of_id": null, "metrics": { "reply_count": 1, "repost_count": 0, "like_count": 3, "view_count": 225 } }, { "post_id": "2073111326981783629", "author": "NOTimothyLottes", "handle": "NOTimothyLottes", "text": "Here is initial bring up, function call by function call. No headers, and no C++. The magic of typecasting at usage IC4_(CPP_(... is that I don't ever have to build the headers. That is at least working out well. I do line by line to test in Wine, defer fail handling until later", "timestamp": "2026-07-03 18:27:11", "media_urls": [ "https://pbs.twimg.com/media/HMUrDz2XsAA9JLP?format=png&name=orig" ], "reply_to_id": "2073110092447203466", "quote_of_id": null, "metrics": { "reply_count": 1, "repost_count": 0, "like_count": 2, "view_count": 92 } }, { "post_id": "2073113441959616958", "author": "NOTimothyLottes", "handle": "NOTimothyLottes", "text": "More on bring-up. I just run and check visually for output in the console (this time 'B055'). Since compile times are under a second, it is super fast to check as I go. Easy to see how much code bloat there is for C++ this way (doing it manually).", "timestamp": "2026-07-03 18:35:35", "media_urls": [ "https://pbs.twimg.com/media/HMUs9oLWUAAaHx9?format=png&name=orig" ], "reply_to_id": "2073111326981783629", "quote_of_id": null, "metrics": { "reply_count": 1, "repost_count": 0, "like_count": 2, "view_count": 387 } }, { "post_id": "2073114409270997497", "author": "NOTimothyLottes", "handle": "NOTimothyLottes", "text": "Example below of how much header bloat I'm factoring out using my simple macros", "timestamp": "2026-07-03 18:39:26", "media_urls": [ "https://pbs.twimg.com/media/HMUujnwWoAAUQd1?format=png&name=orig" ], "reply_to_id": "2073113441959616958", "quote_of_id": null, "metrics": { "reply_count": 0, "repost_count": 0, "like_count": 2, "view_count": 350 } } ], "source_url": "https://x.com/NOTimothyLottes/status/2073110092447203466" }