DirectSound Wrapper Classes
in
http://www.codeproject.com/KB/directx/dsoundwc.aspx
But I think this code need Directsound and visual c++ not the compiler as you mentioned LCC.
and there are many stuffs in the "www.codeproject.com ", you can just dig into this site.