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.
18 lines
636 B
18 lines
636 B
//========= 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
|