diff options
Diffstat (limited to 'mp/src/public/isoundcombiner.h')
| -rw-r--r-- | mp/src/public/isoundcombiner.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/mp/src/public/isoundcombiner.h b/mp/src/public/isoundcombiner.h new file mode 100644 index 00000000..4f1a475b --- /dev/null +++ b/mp/src/public/isoundcombiner.h @@ -0,0 +1,40 @@ +//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef ISOUNDCOMBINER_H
+#define ISOUNDCOMBINER_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "utlvector.h"
+
+class IFileSystem;
+
+struct CombinerEntry
+{
+ CombinerEntry()
+ {
+ wavefile[ 0 ] = 0;
+ startoffset = 0.0f;
+ }
+
+ char wavefile[ MAX_PATH ];
+ float startoffset;
+};
+
+abstract_class ISoundCombiner
+{
+public:
+ virtual ~ISoundCombiner() {}
+
+ virtual bool CombineSoundFiles( IFileSystem *filesystem, char const *outfile, CUtlVector< CombinerEntry >& info ) = 0;
+ virtual bool IsCombinedFileChecksumValid( IFileSystem *filesystem, char const *outfile, CUtlVector< CombinerEntry >& info ) = 0;
+};
+
+extern ISoundCombiner *soundcombiner;
+
+#endif // ISOUNDCOMBINER_H
|