SASANO Takayoshi on Nostr: ふーん if (par->rate != ~0U && par->appbufsz == ~0U) par->appbufsz = par->rate * ...
ふーん
if (par->rate != ~0U && par->appbufsz == ~0U)
par->appbufsz = par->rate * 200 / 1000;
return hdl->ops->setpar(hdl, par);
appbufsz = ~0だと200msec分のバッファになるのか。
Published at
2024-09-10 22:51:50Event JSON
{
"id": "8c4d9a25cafd87d8d99eaef54138ee5b7b4645e9fabde556611743642bce83fb",
"pubkey": "9479339eb118796a8d8e9b7c1ff6d34abf8cd0e4fe81b0d80372e2b1d2da7b12",
"created_at": 1726008710,
"kind": 1,
"tags": [
[
"proxy",
"https://social.mikutter.hachune.net/users/uaa/statuses/113115706819692872",
"activitypub"
]
],
"content": "ふーん\n if (par-\u003erate != ~0U \u0026\u0026 par-\u003eappbufsz == ~0U)\n par-\u003eappbufsz = par-\u003erate * 200 / 1000;\n return hdl-\u003eops-\u003esetpar(hdl, par);\n\nappbufsz = ~0だと200msec分のバッファになるのか。",
"sig": "9795005636cfbee0b272b5b0c272a81f6458d2ee904b90387fffedaa04c183ec276213d4e83f8817f922b873d532f9e9ef6f7c0af0ba79703ea5e93dc7f8becb"
}