Accessing Byte values from a block of allocated memory...
This should be a simple one.
ok lets say I've allocated some memory to store audio data in one of my objects using:
[pascal]var SamplePtr: Pointer;
[pascal]ReadBlock(FileStream, SamplePtr^, SampleSize);[/pascal]
How do I access this 8-bit audio data as if it were simply an array of Byte values? Or in some other similar way. Some code would be great.
[size=7px]I can't believe I've never done this in Win32 before.[/size]
Pascal Game Development
Community Leader / Webmaster / Co-Founder