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

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