source-engine/engine/audio/snd_wave_temp.h

19 lines
636 B
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Create an output wave stream. Used to record audio for in-engine movies or
// mixer debugging.
//
//=====================================================================================//
#ifndef SND_WAVE_TEMP_H
#define SND_WAVE_TEMP_H
#ifdef _WIN32
#pragma once
#endif
extern void WaveCreateTmpFile( const char *filename, int rate, int bits, int channels );
extern void WaveAppendTmpFile( const char *filename, void *buffer, int sampleBits, int numSamples );
extern void WaveFixupTmpFile( const char *filename );
#endif // SND_WAVE_TEMP_H