DECLARE FUNCTION DQBunpackSound (BYVAL PacketID, BYVAL Slot)
PacketID - Packet ID number
Slot - Sound slot where to place decoded sound data
An INTEGER value holding the unpacking results: > 0 Operation successful > 1 Datafile not yet opened > 2 Unknown packet ID number > 3 Bad password or unknown data > 4 Unknown sound slot
Decodes the sound sample identified by specified packet ID number from the currently opened datafile, and stores it into the given sound slot; it is assumed that such a slot has been initialized with DQBinit. Decoded sounds can then be normally played with DQBplaySound.
none
See DQBopenDataFile