aboutsummaryrefslogtreecommitdiff
path: root/mp/src/public/ivoicetweak.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/public/ivoicetweak.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/public/ivoicetweak.h')
-rw-r--r--mp/src/public/ivoicetweak.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/mp/src/public/ivoicetweak.h b/mp/src/public/ivoicetweak.h
index 6c0349b9..4a4d0eaf 100644
--- a/mp/src/public/ivoicetweak.h
+++ b/mp/src/public/ivoicetweak.h
@@ -1,40 +1,40 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef IVOICETWEAK_H
-#define IVOICETWEAK_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-// These provide access to the voice controls.
-typedef enum
-{
- MicrophoneVolume=0, // values 0-1.
- OtherSpeakerScale, // values 0-1. Scales how loud other players are.
- MicBoost,
- SpeakingVolume, // values 0-1. Current voice volume received through Voice Tweak mode
-
-} VoiceTweakControl;
-
-
-typedef struct IVoiceTweak_s
-{
- // These turn voice tweak mode on and off. While in voice tweak mode, the user's voice is echoed back
- // without sending to the server.
- int (*StartVoiceTweakMode)(); // Returns 0 on error.
- void (*EndVoiceTweakMode)();
-
- // Get/set control values.
- void (*SetControlFloat)(VoiceTweakControl iControl, float value);
- float (*GetControlFloat)(VoiceTweakControl iControl);
-
- bool (*IsStillTweaking)(); // This can return false if the user restarts the sound system during voice tweak mode
-} IVoiceTweak;
-
-
-#endif // IVOICETWEAK_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef IVOICETWEAK_H
+#define IVOICETWEAK_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+// These provide access to the voice controls.
+typedef enum
+{
+ MicrophoneVolume=0, // values 0-1.
+ OtherSpeakerScale, // values 0-1. Scales how loud other players are.
+ MicBoost,
+ SpeakingVolume, // values 0-1. Current voice volume received through Voice Tweak mode
+
+} VoiceTweakControl;
+
+
+typedef struct IVoiceTweak_s
+{
+ // These turn voice tweak mode on and off. While in voice tweak mode, the user's voice is echoed back
+ // without sending to the server.
+ int (*StartVoiceTweakMode)(); // Returns 0 on error.
+ void (*EndVoiceTweakMode)();
+
+ // Get/set control values.
+ void (*SetControlFloat)(VoiceTweakControl iControl, float value);
+ float (*GetControlFloat)(VoiceTweakControl iControl);
+
+ bool (*IsStillTweaking)(); // This can return false if the user restarts the sound system during voice tweak mode
+} IVoiceTweak;
+
+
+#endif // IVOICETWEAK_H