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.

23 lines
772 B

  1. /*==========================================================================
  2. *
  3. * Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: MixerUtils.h
  6. * Content: Base class for dp/dnet abstraction
  7. *
  8. * History:
  9. * Date By Reason
  10. * ==== == ======
  11. * 07/06/99 rodtoll Utility functions for mixing audio
  12. *
  13. ***************************************************************************/
  14. #ifndef __MIXERUTILS_H
  15. #define __MIXERUTILS_H
  16. void FillBufferWithSilence( LONG *buffer, BOOL eightBit, LONG frameSize );
  17. void MixInBuffer( LONG *mixerBuffer, const BYTE *sourceBuffer, BOOL eightBit, LONG frameSize );
  18. void NormalizeBuffer( BYTE *targetBuffer, const LONG *mixerBuffer, BOOL eightBit, LONG frameSize );
  19. #endif