Hi All.
I've a WAVEFORMATEX struct with some codecdata at the end of it (10 bytes).
I'm using C++.
How do I access the data at the end? (this is a purely technical question).
I tried :
WAVEFORMATEX* wav = (WAVEFORMATEX*)pmt->pbFormat;
WORD me = wav->cbSize;
wav = wav + sizeof(WAVEFORMATEX);
BYTE* arr = new BYTE[me];
memcpy(arr, (BYTE*)wav, me);
Didnt work.
Thanks
Roey