24 lines
737 B
C
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
|
||
|
|