The DirectSoundResource Class contains the following methods:
loadWaveFile loads a wave resource from the given file.
loadWaveResource loads a wave resource from the given module.
readBuffer reads an amount of data from a resource into the given buffer.