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
23 lines
772 B
/*==========================================================================
|
|
*
|
|
* 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, const BYTE *sourceBuffer, BOOL eightBit, LONG frameSize );
|
|
void NormalizeBuffer( BYTE *targetBuffer, const LONG *mixerBuffer, BOOL eightBit, LONG frameSize );
|
|
|
|
#endif
|
|
|