mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-14 20:56:56 +00:00
1
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//=============================================================================//
|
||||
|
||||
#ifndef VOICE_WAVEFILE_H
|
||||
#define VOICE_WAVEFILE_H
|
||||
#pragma once
|
||||
|
||||
|
||||
// Load in a wave file. This isn't very flexible and is only guaranteed to work with files
|
||||
// saved with WriteWaveFile.
|
||||
bool ReadWaveFile(
|
||||
const char *pFilename,
|
||||
char *&pData,
|
||||
int &nDataBytes,
|
||||
int &wBitsPerSample,
|
||||
int &nChannels,
|
||||
int &nSamplesPerSec);
|
||||
|
||||
|
||||
// Write out a wave file.
|
||||
bool WriteWaveFile(
|
||||
const char *pFilename,
|
||||
const char *pData,
|
||||
int nBytes,
|
||||
int wBitsPerSample,
|
||||
int nChannels,
|
||||
int nSamplesPerSec);
|
||||
|
||||
|
||||
#endif // VOICE_WAVEFILE_H
|
||||
Reference in New Issue
Block a user