This command will make a memblock from a sound. The specified values must be integer values and the source resource must exist or the command will fail. The format for creating and gathering information on a sound is obtained in the following format. The offsets are specified in Bytes. Refer to the standard Windows SDK documentation on the WAVEFORMATEX data structure for the meanings of each field:OFFSET 0 - wFormatTagOFFSET 4 - nChannelsOFFSET 8 - nSamplesPerSecOFFSET 12 - nAvgBytesPerSecOFFSET 16 - nBlockAlignOFFSET 20 - wBitsPerSampleOFFSET 24 - cbSize
Syntax:
MAKE MEMBLOCK FROM SOUND Memblock Number, Sound Number