windows-nt/Source/XPSP1/NT/multimedia/directx/dplay/dvoice/dxvoice/mixutils.h

24 lines
737 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*==========================================================================
*
* 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