Team Fortress 2 Source Code as on 22/4/2020
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

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Create an output wave stream. Used to record audio for in-engine movies or
  4. // mixer debugging.
  5. //
  6. //=====================================================================================//
  7. #ifndef SND_WAVE_TEMP_H
  8. #define SND_WAVE_TEMP_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. extern void WaveCreateTmpFile( const char *filename, int rate, int bits, int channels );
  13. extern void WaveAppendTmpFile( const char *filename, void *buffer, int sampleBits, int numSamples );
  14. extern void WaveFixupTmpFile( const char *filename );
  15. #endif // SND_WAVE_TEMP_H