waveOutOpen

I got a problem with The waveOutOpen command in the MMsystems unit,...
It won't accept The values i send to it and gives me a WAVERR_BADFORMAT
error message,...   Could anyone mail me a source witch does this
propperly,...  
thanx,...

  rkj...@sn.no