I've tried to get directsound working, but so far I haven't heard any sound from my computer. I'm using directsound.pas (so no components, like TDXSound or whatever).

Could anyone write an example code how to play sound with Directsound?