windows-nt/Source/XPSP1/NT/multimedia/directx/dplay/dvoice/dxvoice/mixutils.h
2020-09-26 16:20:57 +08:00

24 lines
737 B
C

/*==========================================================================
*
* Copyright (C) 1999 Microsoft Corporation. All Rights Reserved.
*
* File: MixerUtils.h
* Content: Base class for dp/dnet abstraction
*
* History:
* Date By Reason
* ==== == ======
* 07/06/99 rodtoll Utility functions for mixing audio
*
***************************************************************************/
#ifndef __MIXERUTILS_H
#define __MIXERUTILS_H
void FillBufferWithSilence( LONG *buffer, BOOL eightBit, LONG frameSize );
void MixInBuffer( LONG *mixerBuffer, BYTE *sourceBuffer, BOOL eightBit, LONG frameSize );
void NormalizeBuffer( BYTE *targetBuffer, LONG *mixerBuffer, BOOL eightBit, LONG frameSize );
#endif