2016-07-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¹ãã«ã¢ããã«ã¤ãã¦ãæ°ã«ãªãè¨äºããã£ãã paiza.hatenablog.com ç´7å²ã®æ¹ãããã©ã¤ãã¼ãã§ã®åå¼·æéã¯é±5æé以ä¸ãã§ããã ã¦ãã¨ã¯ãã©ãã ãæ®æ¥ãã¦ããå¸°å® å¾1æéã¯åå¼·ã«è²»ããã¦ãã£ã¦äºã§ãããã ã¾ãé±æ«ã«ã¾ã¨ãã¦ã£ã¦è¨ã人ã¯ãåã»â¦
ä»ã¾ã§Managed DirectXãæ±ã£ã¦ãããã©ã訳ãã£ã¦Unmanagedãªã³ã¼ããæ±ãå¿ è¦ãåºã¦ããã ã§ããã£ããã£ããã¤ã¹ã®åæã®ãããDirectSoundCaptureEnumerateãé¢æ°ãã³ã¼ã«ããå¿ è¦ããã£ãã®ã ãã©ãMSDNè¦ããã HRESULT WINAPI DirectSoundCaptureEnuâ¦
ãã®ï¼ã§æ¸ããéãã次ã¯é²é³ã§ãããâ»ä¸è¨ãµã¤ããåèã«ããã¦é ãã¾ãããæè¬ã§ãã Managed DirectSoundã使ã£ã¦ãã¤ã¯ããé³å£°ãé²é³ãã¦ã¿ã2 using System; using System.Collections.Generic; using System.Linq; using System.Text; using Systemâ¦
ããã®ç¶ãã§ãManaged DirectXãç¡äºåããã®ã§ãDirectSoundã§*.wavãã¡ã¤ã«ãåçããå¦çãæ¸ãã¦ã¿ã¾ããã åçã ããªãããããã·ã³ãã«ãªãã§ããã (ä¸è¦ãªå¦çãå¤ãããããã¾ãããããã¾ãããï¼ using System; using System.Collections.Generâ¦
ãã¦ããã£ã¡ã«æ¥ã¦ï¼é±éãä»äºéå§ããï¼é±é以ä¸ãçµã¡ã¾ããã ããããã¾ã§ãæ°ããå ´æãã£ã¦è¨ãæå³ã§ã¯ãä½ãã°é½ãã§ã¯ç¡ãã§ãããå°ãã¥ã¤æ £ãã¦ãã¾ããã ã¾ãæ°å¤©å°ã¯ã¨ã³ã¸ãã¢ã¨ãã¦ã®ä»äºã®éã»å¹ ãåããå¤ããæ¥ã¦ããã£ããªãã¨ãæãâ¦
â»ä»äºã§Managed DirectXãåããã¾ã§ã«ä¸è¦å´ããã®ã§ãåå¿é²çã«ã¡ã¢ã æè¿ãä»äºã§Managed DirectXã使ç¨ãããã¨ã«ãªã£ãã®ã§ããâ¦ å ¨ãåããªãâ¦ã¨ããããæ£å¸¸ã«åä½ããªãã ã¨ããããããã£ãäºã¨ããã°ã Managed DirectX9.0cã®ã¤ã³ã¹ãã¼ã« Direâ¦
ãã¦ãååã®è¨äºã®éããä¼ç¤¾ãã©ããããã¯ããã¾ãããããã¯ãã¦ãã⦠å§ãã«æ¯çµ¦ãããPCãWindows10ã ã£ãã®ã§ãè²ã 確èªãã¦ããã®ã§ããããªããã1æéä½åä½ãããã¨å¿ ãããªã¼ãºãããã¨ããè¬ç¾è±¡ã«ãããPCã交æãããã¨ã«ã ã§ãå½ç¶Edgeã触â¦
æ°ãã¤ãã°ãååã®è¨äºãããï¼ã¶æ以ä¸ã空ãã¦ãã¾ãã¾ããã ãã¦ããããã£ã¦ç¢å ããã©ãã«ããã¿ãã¿ããã£ãããã¦ãå ¨ç¶æéãåãã¾ããã§ããã ã§ããã®ãã¿ãã¿ã®å 容ã§ãããã¿ã¤ãã«éã転è·ã»è»¢å± ããã¦ã7æããæ°ããè·å ´ã§åãã¦ã¾ãã â¦