[Bug 503] Convert HWAVE to a void* (references: 9)