2025-04-27 07:49:33 -04:00

24 lines
760 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