Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
647 B

#ifndef AudioDescrambler_h
#define AudioDescrambler_h
// Descramble/decrypt a block of audio data.
DRM_STATUS DescrambleBlock(WAVEFORMATEX* Wfx, DWORD StreamId, // wfx of embedded audio
BYTE* Dest, DWORD DestSize, DWORD* DestUsed, // as you might expect
BYTE* Src, DWORD SrcSize, DWORD* SrcUsed, // as you might expect
BOOL InitKey, // set to init the streamKek from
STREAMKEY* streamKey, // the streamManager
DWORD FrameSize // frameSize. If zero, the frameSize is calculated
); // based on the Wfx and FrameSize is set (ie do this
// once.)
#endif