ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • 원앰 DirectSound 그리고 WaveOut에 대해..
    원앰프 방송자료 모음 2006. 7. 13. 16:14

    윈도우9X 계열 및 NT는 WaveOut을 사용해야 하며,

    윈도우 2000 및 윈도우 XP 그 이상은 DirectSound를 사용해야 한다.

    WaveOut는 오래된 API 방식이고,

    DirectSound는 최근에 만들어진 API 방식으로써

    각 운영체제에 맞는 Output를 선택해야 한다.


    DirectSound로 사용시에는 설정에서 Allow hardware mixing를 꼭 체크 표시를 한다.

    ◐자유행동◑

    you should use waveOut on win95/98/me/nt4 and DirectSound on win2k/xp
    Long version:
    WaveOut is old, outdated API (Application Programming Interface) for playing digital sounds in 32bit Windows OS's. Old OS's (all win9x and nt4) have good waveOut implementation; you should use waveOut output on those for best performance. waveOut features are limited; it doesn't even natively support mixing multiple streams. It appears that waveOut is provided in win2k/xp only for compatibility with old software - win2k/xp waveOut implementation is rather bad, it doesn't use any kind of hardware acceleration; all mixing is performed by software (may interrupt sound when CPU usage is high

    DirectSound is the new "modern" sound playback API, built into all recent versions of 32bit Windows OS's, available as redistributable for older ones (though nt4 directsound is badly broken from my experience). DirectSound natively supports mixing multiple streams, independent volume control, hardware acceleration layer & hardware emulation layer (features which aren't supported by hardware are emulated by software, so the programmer doesn't have to worry if his new l33t code will work right on old sb16). DirectSound should be generally fine to use everywhere except for nt4, as long as you have latest DirectX version for your OS and proper soundcard drivers installed. DirectSound is preferred over waveOut on win2k/xp, because their DirectSound implementation is relatively good (eats less CPU than waveOut and is free of win2k/xp waveOut implementation glitches). DirectSound was originally designed to let games utilize hardware acceleration available on your system without having to touch low-level hardware functions directly (like any other component of DirectX).◐자유행동◑

    댓글

Designed by Tistory.