Feeling

              三人行,必有我?guī)熝?/p>

             ::  :: 新隨筆 :: 聯(lián)系 ::  :: 管理 ::
            185 隨筆 :: 0 文章 :: 392 評論 :: 0 Trackbacks

          沉寂了一段時(shí)間,現(xiàn)在繼續(xù)SWT Win32 Extension的開發(fā),說實(shí)話,最近的進(jìn)展挺失敗的。Black Glossy效果我發(fā)現(xiàn)在某些機(jī)器上的顯示效果非常的卡,我自己的機(jī)器卻沒有任何問題。另外就是我最近在XP下實(shí)現(xiàn)了Window Mixer API,用來管理系統(tǒng)聲音。Win98,2000,XP都沒有問題,結(jié)果Vista讓我郁悶了,Vista居然取消了Mixer,我哭呀。以下是微軟員工給出的答案:

          That's because the mixer APIs are virtualized on Windows Vista - you don't get to see the real audio hardware by default, only a virtualized version.  We did this because the vast majority of applications that used the mixer APIs were using them to control their own volume, which is quite rude (it says "I own the box, no other sounds on the system matter").

           You have two choices.  The first is to run your application in XP compatibility mode, in which case you'll be able to access the real audio hardware (please note: you'll see exactly what the hardware provides, which may lead to surprising results).

           The other choice is to use the new Vista audio engine APIs.  either the IAudioEndpointVolume API which allows you access to the master volume for each of the audio endpoints on the machine.  If you really need to access the actual audio controls the IDeviceTopology interface will allow you direct access to the various controls on the audio hardware.

          沒脾氣了,只能專門為Vista實(shí)現(xiàn)一套簡單的API了。

          評論

          # re: Vista居然把Mixer拿掉了:-( 2008-10-23 19:42 BeanSoft
          支持! 注意身體!  回復(fù)  更多評論
            

          # re: Vista居然把Mixer拿掉了:-( 2008-10-23 20:09 非魚
          which may lead to surprising results.

          微軟的人都這么幽默嗎?  回復(fù)  更多評論
            

          # re: Vista居然把Mixer拿掉了:-( 2008-10-24 09:11 王建璞
          can these be translated to chinese?  回復(fù)  更多評論
            

          # re: Vista居然把Mixer拿掉了:-( 2008-10-24 09:12 王建璞
          My E is so poor to understand it deeply  回復(fù)  更多評論
            

          # re: Vista居然把Mixer拿掉了:-([未登錄] 2009-10-23 10:50 GoKu
          這個(gè)應(yīng)該與驅(qū)動(dòng)有關(guān),你換個(gè)硬件廠商的原廠驅(qū)動(dòng)  回復(fù)  更多評論
            


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          GitHub |  開源中國社區(qū) |  maven倉庫 |  文件格式轉(zhuǎn)換 
          主站蜘蛛池模板: 项城市| 拉萨市| 基隆市| 洛浦县| 内江市| 康保县| 扎鲁特旗| 房产| 时尚| 泾源县| 屏南县| 滕州市| 霍州市| 南昌市| 寻甸| 东兴市| 徐水县| 峨眉山市| 临朐县| 舟曲县| 安丘市| 临泽县| 修武县| 峨眉山市| 多伦县| 南靖县| 宜城市| 新龙县| 津南区| 龙南县| 社旗县| 眉山市| 嘉义县| 清水河县| 巴彦淖尔市| 白城市| 民和| 谢通门县| 凌云县| 罗源县| 德清县|