{"id":8583,"date":"2025-02-04T01:55:22","date_gmt":"2025-02-03T16:55:22","guid":{"rendered":"https:\/\/k.foolslab.net\/dailyreport\/?p=8583"},"modified":"2025-02-04T02:11:52","modified_gmt":"2025-02-03T17:11:52","slug":"2025-2-3","status":"publish","type":"post","link":"https:\/\/k.foolslab.net\/dailyreport\/2025-2-3\/","title":{"rendered":"2025\/2\/3(\u6708)"},"content":{"rendered":"\n<p>libsoundio\u306e\u8abf\u67fb\u3092\u9032\u3081\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u516c\u5f0f\u306eexample\u306b\u5f93\u3046\u3053\u3068\u3067\u97f3\u306f\u51fa\u3066\u3001\u6b21\u306f\u30df\u30ad\u30b5\u3068\u304b\u306e\u624b\u5b9f\u88c5\u3092\u9032\u3081\u3088\u3046\u3068\u601d\u3063\u305f\u306e\u3060\u304c\u3001\u305d\u306e\u524d\u306b\u30c7\u30d0\u30a4\u30b9\u5207\u308a\u66ff\u3048\u6642\u306e\u6319\u52d5\u306e\u5bfe\u51e6\u3068\u30ec\u30a4\u30c6\u30f3\u30b7\u306b\u95a2\u3059\u308b\u8003\u5bdf\u3092\u3057\u3066\u304a\u304f\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30c7\u30d0\u30a4\u30b9\u5207\u308a\u66ff\u3048\u6642\u306e\u6319\u52d5\u306b\u3064\u3044\u3066\u3002\u9811\u5065\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3042\u308c\u3070PC\u306b\u633f\u3055\u3063\u305f\u30a4\u30e4\u30db\u30f3\u3092\u5f15\u3063\u3053\u629c\u3044\u305f\u304f\u3089\u3044\u3067\u843d\u3061\u305f\u308a\u306f\u305b\u305a\u3001\u51fa\u529b\u5148\u3092\u30b9\u30d4\u30fc\u30ab\u30fc\u306b\u5207\u308a\u66ff\u3048\u3066\u52d5\u304d\u7d9a\u3051\u3066\u6b32\u3057\u3044\u3082\u306e\u3067\u3042\u308b\u3002\u3057\u304b\u3057libsoundio\u306f\u5225\u306b\u305d\u3046\u3044\u3046\u81ea\u52d5\u5207\u63db\u3048\u307f\u305f\u3044\u306a\u6a5f\u80fd\u306f\u6301\u305f\u306a\u3044\u306e\u3067\u3001\u81ea\u529b\u3067\u3069\u3046\u306b\u304b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<\/p>\n\n\n\n<p><code>SoundIo::on_devices_change<\/code>\u3068\u3044\u3046\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u304c\u3042\u308b\u3002\u3053\u3044\u3064\u3067\u30c7\u30d0\u30a4\u30b9\u306e\u72b6\u614b\u306e\u5909\u5316\u304c\u691c\u51fa\u3067\u304d\u308b\u3002\u30c7\u30d0\u30a4\u30b9\u304c\u5909\u5316\u3057\u305f\u3089\u3001\u76f4\u5f8c\u306b<code>SoundIoOutStream<\/code>\u3092\u30dd\u30fc\u30ba\u30fb\u7834\u68c4\u3057\u3066\u3001\u73fe\u5728\u4f7f\u7528\u4e2d\u306e\u30c7\u30d0\u30a4\u30b9\u3092unref\u3057\u3066\u3001\u518d\u3073\u30c7\u30d0\u30a4\u30b9\u3068OutStream\u3092\u4ed5\u7acb\u3066\u76f4\u305b\u3070\u9cf4\u308a\u7d9a\u3051\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u3002\u516c\u5f0f\u306b\u306f<code>on_backend_disconnect<\/code>\u304b\u3089\u306e\u5fa9\u5e30\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u3042\u308b\u304c\u3001<code>on_devices_change<\/code>\u304b\u3089\u306e\u5fa9\u5e30\u306f\u7121\u304b\u3063\u305f\u306e\u3067\u81ea\u529b\u3067\u66f8\u3044\u3066\u5b9f\u9a13\u3059\u308b\u7fbd\u76ee\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u306a\u304a\u3001\u30c7\u30d0\u30a4\u30b9\u306e\u633f\u629c\u3068\u304b\u3067\u306e\u307f<code>on_devices_change<\/code>\u306f\u767a\u706b\u3059\u308b\u3082\u306e\u3068\u601d\u3063\u3066\u3044\u305f\u304c\u3001\u3069\u3046\u3082\u97f3\u91cf\u8abf\u6574\u3068\u304b\u3067\u3082\u767a\u706b\u3059\u308b\u3088\u3046\u3060\u3002<code>soundio_device_equal<\/code>\u3068\u3044\u3046\u95a2\u6570\u3067\u30c7\u30d0\u30a4\u30b9\u306e\u540c\u4e00\u6027\u304c\u5224\u5b9a\u3067\u304d\u308b\u306e\u3067\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u51fa\u529b\u30c7\u30d0\u30a4\u30b9\u304c\u5909\u5316\u3057\u3066\u3044\u305f\u3089\u305d\u308c\u306b\u5f93\u3046\u3068\u3044\u3046\u51e6\u7406\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6b21\u306b\u30ec\u30a4\u30c6\u30f3\u30b7\u306b\u95a2\u3059\u308b\u8003\u5bdf\u3002libsoundio\u306ewrite_callback\u3067\u306f\u4e0e\u3048\u3089\u308c\u305fframe_min\u304b\u3089frame_max\u307e\u3067\u306e\u9593\u306e\u6570\u3060\u3051\u30b5\u30f3\u30d7\u30eb\u3092\u30d0\u30c3\u30d5\u30a1\u306b\u66f8\u304d\u8fbc\u3081\u308b\u3002frame_max\u307e\u3067\u66f8\u304d\u8fbc\u3081\u3070\u52d5\u4f5c\u306f\u5b89\u5b9a\u3059\u308b\u304c\u3001\u9045\u5ef6\u306f\u5927\u304d\u3044\u3002frame_min\u306b\u8fd1\u304f\u306a\u308b\u3068\u9045\u5ef6\u306f\u5c0f\u3055\u304f\u306a\u308b\u304c\u52d5\u4f5c\u306f\u4e0d\u5b89\u5b9a\u306b\u306a\u308a\u3001\u30d0\u30c3\u30d5\u30a1\u30a2\u30f3\u30c0\u30fc\u30d5\u30ed\u30fc\u304c\u52c3\u767a\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u81ea\u5206\u306e\u74b0\u5883(Windows)\u3067\u306f\u30b5\u30f3\u30d7\u30eb\u30ec\u30fc\u30c848kHz\u3067frame_min\u304c0\u3001frame_max\u304c96000=2\u79d2\u5206\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u305f\u3002\u3055\u3059\u304c\u306b\u30b2\u30fc\u30e0\u30672\u79d2\u306e\u9045\u5ef6\u306f\u8ad6\u5916\u3060\u3002\u30a2\u30f3\u30c0\u30fc\u30d5\u30ed\u30fc\u3092\u8d77\u3053\u3055\u306a\u3044\u30e9\u30a4\u30f3\u3092\u63a2\u3063\u305f\u3068\u3053\u308d\u30011024\u4ee5\u4e0b\u3060\u3068\u843d\u3061\u307e\u304f\u308b\u30021536\u3042\u305f\u308a\u304c\u5e38\u6642\u5b89\u5b9a\u3059\u308b\u30ae\u30ea\u30ae\u30ea\u306e\u30e9\u30a4\u30f3\u3068\u3044\u3046\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u30021536\/48000=32ms\u3067\u3001\u30d0\u30c3\u30d5\u30a1\u30ea\u30f3\u30b0\u306e\u4ed5\u7d44\u307f\u3092\u8003\u3048\u308b\u3068\u6700\u60aa\u3067\u500d\u306e64ms\u3092\u898b\u8fbc\u3093\u3060\u65b9\u304c\u826f\u3044\u3002\u3053\u308c\u306f\u9045\u5ef6\u3068\u3057\u3066\u8a31\u3055\u308c\u308b\u30e9\u30a4\u30f3\u306a\u306e\u304b\u3088\u304f\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u304c\u3001\u30cd\u30c3\u30c8\u306e\u7814\u7a76\u3092\u898b\u308b\u3068\u6050\u3089\u304f\u306f\u554f\u984c\u3042\u308b\u304b\u306a\u3044\u304b\u30ae\u30ea\u30ae\u30ea\u304f\u3089\u3044\u306e\u30e9\u30a4\u30f3\u3067\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/www.jstage.jst.go.jp\/article\/itej\/69\/5\/69_408\/_pdf\/-char\/ja\">https:\/\/www.jstage.jst.go.jp\/article\/itej\/69\/5\/69_408\/_pdf\/-char\/ja<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/note.com\/tkykmts\/n\/n342fc7c52472\">https:\/\/note.com\/tkykmts\/n\/n342fc7c52472<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/note.com\/adx_kawaguchi\/n\/n689aa13de720#1NnFR\">https:\/\/note.com\/adx_kawaguchi\/n\/n689aa13de720#1NnFR<\/a><\/p>\n\n\n\n<p>\u3069\u3046\u3057\u3066\u3053\u3093\u306a\u9577\u3044\u3093\u3060\u308d\u3046\u3068\u601d\u3063\u305f\u304c\u3001\u6050\u3089\u304f\u306fWindows\u306e\u30b5\u30a6\u30f3\u30c9\u306e\u4ed5\u7d44\u307f\u304c\u3042\u307e\u308a\u826f\u304f\u306a\u304f\u3001\u3055\u3089\u306blibsoundio\u3082\u305d\u3053\u307e\u3067Windows\u3092\u91cd\u8996\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u304c\u80cc\u666f\u306b\u3042\u308b\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u601d\u3046\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/andrewrk\/libsoundio\/issues\/221\">https:\/\/github.com\/andrewrk\/libsoundio\/issues\/221<\/a><\/p>\n\n\n\n<p>\u307e\u3042\u4eca\u56de\u4f5c\u3063\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u30d7\u30ed\u30e6\u30fc\u30b9\u3068\u3044\u3046\u3088\u308a\u5b9f\u9a13\u30fb\u6559\u80b2\u7528\u3068\u3044\u3046\u30b3\u30f3\u30bb\u30d7\u30c8\u3067\u306f\u3042\u308b\u306e\u3067\u308f\u305a\u304b\u306a\u97f3\u58f0\u9045\u5ef6\u306b\u3068\u3053\u3068\u3093\u62d8\u308b\u7a0b\u306e\u3064\u3082\u308a\u3082\u306a\u3044\u306e\u3060\u304c\u3001\u5b9f\u969b\u4f7f\u3063\u3066\u307f\u3066\u6c17\u306b\u306a\u308b\u3088\u3046\u3067\u3042\u308c\u3070libsoundio\u4ee5\u5916\u306e\u9078\u629e\u80a2\u3082\u8003\u3048\u305f\u3044\u3068\u601d\u3046\u3002Windows\u3067\u3060\u3051OS API\u3092\u76f4\u63a5\u89e6\u308b\u3068\u304b\u3002\u3057\u304b\u3057\u305d\u3082\u305d\u3082Windows\u306e\u30aa\u30fc\u30c7\u30a3\u30aa\u81ea\u4f53\u304c\u5fae\u5999\u3068\u8003\u3048\u308b\u3068OS\u306eAPI\u3092\u76f4\u63a5\u89e6\u3063\u3066\u3082\u4ed5\u65b9\u306a\u3044\u304b\u3082\u3057\u308c\u306a\u3044\u3002<\/p>\n\n\n\n<p>libsoundio\u306fASIO\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u305d\u308c\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u307f\u308b\u624b\u306f\u3042\u308b\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>\u30b2\u30fc\u30e0\u958b\u767a\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u3064\u3044\u3066\u3001\u4f55\u3084\u3089Github Actions\u4e0a\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u3044\u305f\u306e\u3092\u5bfe\u51e6\u3057\u305f\u3002\u8272\u3005\u306a\u74b0\u5883\u3067\u30d3\u30eb\u30c9\u3055\u305b\u3066\u3044\u308b\u306e\u3067\u3001\u81ea\u5206\u306e\u74b0\u5883\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u306a\u304f\u3066\u3082\u5225\u306e\u74b0\u5883\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3053\u3068\u3082\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u30e9\u30a4\u30d6\u30e9\u30ea\u672c\u4f53\u306fC++20\u3067\u30d3\u30eb\u30c9\u3057\u3066\u3044\u308b\u306e\u306b\u5bfe\u3057\u5229\u7528\u5074\u306fC++11\u3067\u3082\u69cb\u308f\u306a\u3044\u3088\u3046\u306b\u4f5c\u3063\u3066\u3044\u308b\u306e\u3060\u304c\u3001\u3069\u3046\u3084\u3089\u30a4\u30f3\u30af\u30eb\u30fc\u30c9\u30d8\u30c3\u30c0\u306e\u4e2d\u3067C++14\u304b17\u76f8\u5f53\u306e\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3057\u307e\u3063\u305f\u3088\u3046\u3060\u3002\u623b\u308a\u5024\u306e\u578b\u63a8\u8ad6\u3092\u3055\u305b\u308b\u3068\u304d\u3001C++11\u3067\u306f<code>auto func() { ... }<\/code>\u3067\u306f\u306a\u304f<code>auto func() -&gt; xxx {}<\/code>\u306e\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u9006\u306b\u624b\u5143\u74b0\u5883\u306f\u306a\u305c\u554f\u984c\u306a\u304f\u901a\u3063\u3066\u3044\u305f\u306e\u304b\u7591\u554f\u3002<\/p>\n\n\n\n<p>\u305d\u308c\u304b\u3089\u3082\u3046\u4e00\u3064\u3001Ubuntu AArch64\u3067\u306e\u30d3\u30eb\u30c9\u74b0\u5883\u3067\u306a\u305c\u304b\u30d7\u30ed\u30bb\u30c3\u30b5\u304cx86_64\u3068\u8a8d\u8b58\u3055\u308c\u3066\u304a\u308a\u3001\u4f9d\u5b58\u3057\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30eamuFFT\u304cx86\u306e\u6a5f\u80fd\u3092\u4f7f\u304a\u3046\u3068\u3057\u3066\u30a8\u30e9\u30fc\u3092\u51fa\u3057\u3066\u3044\u305f\u3002<code>CMAKE_SYSTEM_PROCESSOR<\/code>\u306e\u5024\u304c\u304a\u304b\u3057\u3044\u3063\u307d\u3044\u304c\u3001\u52dd\u624b\u306b\u8a2d\u5b9a\u3055\u308c\u308b\u3082\u306e\u3067\u306f\u306a\u3044\u306e\u304b\u3002Mac\u306eARM64\u30d3\u30eb\u30c9\u306f\u5b9f\u969b\u3061\u3083\u3093\u3068\u30d7\u30ed\u30bb\u30c3\u30b5\u3092\u691c\u51fa\u3067\u304d\u3066\u3044\u308b\u306e\u306b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>libsoundio\u306e\u8abf\u67fb\u3092\u9032\u3081\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u516c\u5f0f\u306eexample\u306b\u5f93\u3046\u3053\u3068\u3067\u97f3\u306f\u51fa\u3066\u3001\u6b21\u306f\u30df\u30ad\u30b5\u3068\u304b\u306e\u624b\u5b9f\u88c5\u3092\u9032\u3081\u3088\u3046\u3068\u601d\u3063\u305f\u306e\u3060\u304c\u3001\u305d\u306e\u524d\u306b\u30c7\u30d0\u30a4\u30b9\u5207\u308a\u66ff\u3048\u6642\u306e\u6319\u52d5\u306e\u5bfe\u51e6\u3068\u30ec\u30a4\u30c6\u30f3\u30b7\u306b\u95a2\u3059\u308b\u8003\u5bdf\u3092\u3057\u3066\u304a\u304f\u3053\u3068\u306b\u3057\u305f\u3002 &hellip; <\/p>\n<div><a href=\"https:\/\/k.foolslab.net\/dailyreport\/2025-2-3\/\" class=\"more\">Read more &raquo;<span class=\"screen-reader-text\"> &#8220;2025\/2\/3(\u6708)&#8221;<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8583","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/8583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/comments?post=8583"}],"version-history":[{"count":20,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/8583\/revisions"}],"predecessor-version":[{"id":8603,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/posts\/8583\/revisions\/8603"}],"wp:attachment":[{"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/media?parent=8583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/categories?post=8583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k.foolslab.net\/dailyreport\/wp-json\/wp\/v2\/tags?post=8583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}