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.
26 lines
884 B
26 lines
884 B
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $Workfile: $
|
|
// $Date: $
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
// $Log: $
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef SND_WAVE_MIXER_H
|
|
#define SND_WAVE_MIXER_H
|
|
#pragma once
|
|
|
|
class IWaveData;
|
|
class CAudioMixer;
|
|
|
|
// skipInitialSamples is used when we can't determine the initialStreamPosition (if there is no seek table for example).
|
|
// It has better granularity than the streamInitialPosition, but is less efficient when skipping large number of samples.
|
|
CAudioMixer *CreateWaveMixer( IWaveData *data, int format, int channels, int bits, int initialStreamPosition, int skipInitialSamples, bool bUpdateDelayForChoreo );
|
|
|
|
|
|
#endif // SND_WAVE_MIXER_H
|