Link Search Menu Expand Document

PlaySoundX(wave)

PlaySoundX()

Parameters

wave : directx기반의 사운드를 재생합니다.

Return Value

Remarks

PlaySoundX()함수는 StopSoundX(), SetVolumeX()와 함께 사용합니다.

-- lua
PlaySoundX("resource\\alarm.wav")
// javascript
PlaySoundX("resource\\alarm.wav")

####

Examples

-- lua
function _onmousedown()
    PlaySoundX("resource\\alarm.wav")
end
// JavaScript
function _onmousedown()
{    
    PlaySoundX("resource\\alarm.wav");
}