Wineä¸ã®é³å£°ãPulseAudioã¸æ¸¡ã
(2015/1/9)æ¬è¨äºã®å 容ã¯å¤ããæ°ãããã£ã¹ããªã§ããã°PulseAudioã«é¢ããç¹å¥ãªä½æ¥ã¯å¿ è¦ãªã使ããããã«ãªã£ã¦ããã
Wineã®ãã¼ã¸ã§ã³1.1.4ã®æç¹ã§ã¯ãWineã¯ãªã¼ãã£ãªã®åºåã«PulseAudioåãã®ãã©ã¤ãã¯ç¨æãã¦ããªããã®ã®ãalsa-pluginsã«å«ã¾ããPulseAudioãã©ã°ã¤ã³ã使ç¨ãããã¨ã§ãALSAçµç±ã§ãªã¼ãã£ãªãåºåãããã¨ãã§ãããã¨ãåãã£ãã*1
ãã®æ¹æ³ã®å¬ããã¨ããã¯ãé©åãªæºåã¨è¨å®ãè¡ããã¨ã§ãx86_64ä¸ã§ãç°¡åã«Wineä¸ã®é³å£°åºåãé²é³ã»å å·¥*2ãªã©ãã§ããããã«ãªããã¨ã*3
å¿ è¦ãªãã®
- ALSAãµãã¼ããæå¹ãªWine
- PulseAudio(x86_64ä¸ã§ã¯ãx86_64çã®ä»ãx86_32çã®ã©ã¤ãã©ãªãå¿ è¦)
- x86_32çalsa-lib
- PulseAudioãµãã¼ããæå¹ãªx86_32çalsa-plugins*4
.asoundrcã®è¨å®
ãtype pulseããªPCMãã©ã°ã¤ã³ã®å®ç¾©ãããã°OKã§ãã!defaultãã®ä¸æ¸ãã¯å¿ è¦ãªããpcm.pulse { type pulse } ctl.pulse { type pulse }
Wineã®è¨å®
ä¸ã§å®ç¾©ããALSAã®PCMãã©ã°ã¤ã³ã¸é³å£°ãåºåããããã®è¨å®ãè¡ãããªã¼ãã£ãªåºåå
winecfgãªã©ãç¨ãã¦ããALSAã¸ã®åºåãã¨ãã¦è¨å®ãããã¬ã¸ã¹ããªè¨å®
[ãã¼ã ãã£ã¬ã¯ããª]/.asoundrcã§ã!defaultãã®ä¸æ¸ããããªãå ´åãã¬ã¸ã¹ããªã®ä¸ã§ãå ã»ã©å®ç¾©ãããtype pulseããªãã©ã°ã¤ã³ã使ç¨ããããã«è¨å®ãè¡ããä¸ã¯ãWineã®ã¬ã¸ã¹ããªã¨ãã£ã¿(regedit)åãã®ã¬ã¸ã¹ããªãã¡ã¤ã«ã
REGEDIT4 [HKEY_CURRENT_USER\Software\Wine\ALSA Driver] "AutoScanCards"="N" "AutoScanDevices"="N" "DeviceCount"="1" "DevicePCM1"="pulse"
ãDevicePCM1ãã®å¤ã®é¨åã[ãã¼ã ãã£ã¬ã¯ããª]/.asoundrcå´ã®ãpcm.pulseãã«å¯¾å¿ãã¦ããã
ãã¹ã
ããã§ãæ®éã«Wineä¸ã®ã¢ããªã±ã¼ã·ã§ã³ããé³ãåºãã°ãé³å£°ã¯PulseAudioã«æµãããã¨ã«ãªããä¾ã¨ãã¦ã以前Win32版DirectXを使用してMSGSの音を出すテストをしたときã®DirectX診æãã¼ã«ä¸ã®ãã¥ã¼ã¸ãã¯ãã¹ããåç¾ãããã®ããã£ããã£ãã¦ã¿ãã
recordMyDesktopã®åç»ããã®ã¾ã¾ã¢ãããã¼ãããããããã®ã¾ã¾ã§ã¯é³å£°ãã¢ãã©ã«ã ãã高画質版ã§ã¯ã¹ãã¬ãªã«ãªãã
ãã©ã¤ãã«ã¤ãã¦
(2009/6/5)bugs.winehq.org/show_bug.cgi?id=10495
ã«Wineã§PulseAudioããµãã¼ããããã©ã¤ã(ãããã®å½¢)ããããMandriva Linux 2009.1ã§ã¯ããã±ã¼ã¸ãlibwine1ãã«æ¨æºã§å«ã¾ãã¦ããããã¡ã¤ã«ã¯/usr/lib/wine/winepulse.drv.soã
ãã¾ãåããªãã¢ããªã±ã¼ã·ã§ã³ã§ã¯winecfgè¨å®ãã¼ã«ã§DirectSoundã®ããã¼ãã¦ã§ã¢ã¢ã¯ã»ã©ã¬ã¼ã·ã§ã³ãããã¨ãã¥ã¬ã¼ã·ã§ã³ãã«ããã¨ããããã ã
ãªããx86_64ã®ãã£ã¹ããªã§ãæ£å¸¸ã«åä½ãã¦ããã
使ç¨ãããã¼ã¸ã§ã³:
*1:ãã¡ãã¨ã¹ãã¬ãªé³å£°ã§åºãã®ãå¬ãã
*2:PulseAudioãJACK Audio Connection Kitã¨é£æºããã¦ãé³å£°ä»ãã¹ã¯ãªã¼ã³ãã£ã¹ãã®åãè¾¼ã¿ãããªã¼ãã£ãªãã¬ã¼ã¤ã®åºåã«å¯¾ãã¦JACK Rackã§ã¨ãã§ã¯ããããããªã©
*3:Wineã¯32bitã®å®è¡ãã¡ã¤ã«ã®ãããå¤é¨ã©ã¤ãã©ãªãªã©ã¯å ¨ã¦x86_32ã®ãã®ã使ç¨ããx86_64ã®ã¢ããªã±ã¼ã·ã§ã³ã¨ã®é£æºãé£ããã£ã
*4:2008/9/22ç¾å¨ãGentooã®å ¬å¼ãªãemul-linux-x86-soundlibsãã«ã¯å«ã¾ããªã