| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | /*****************************************************************************/ |
| 20 | /* */ |
| 21 | /* */ |
| 22 | /* Abstract: */ |
| 23 | /* */ |
| 24 | /* DirectSound3D Voice Manager property set definitions. */ |
| 25 | /* April 24, 1998 */ |
| 26 | /*****************************************************************************/ |
| 27 | |
| 28 | #ifndef _VMANPSET_H_ |
| 29 | #define _VMANPSET_H_ |
| 30 | |
| 31 | /******************************************************************************/ |
| 32 | /* */ |
| 33 | /* G l o b a l t y p e d e f s */ |
| 34 | /* */ |
| 35 | /******************************************************************************/ |
| 36 | |
| 37 | enum DSPROPERTY_VMANAGER { |
| 38 | DSPROPERTY_VMANAGER_MODE = 0, |
| 39 | DSPROPERTY_VMANAGER_PRIORITY, |
| 40 | DSPROPERTY_VMANAGER_STATE |
| 41 | }; |
| 42 | |
| 43 | enum VmMode { |
| 44 | DSPROPERTY_VMANAGER_MODE_DEFAULT = 0, |
| 45 | DSPROPERTY_VMANAGER_MODE_AUTO, |
| 46 | DSPROPERTY_VMANAGER_MODE_REPORT, |
| 47 | DSPROPERTY_VMANAGER_MODE_USER |
| 48 | }; |
| 49 | |
| 50 | enum VmState { |
| 51 | DSPROPERTY_VMANAGER_STATE_PLAYING3DHW = 0, |
| 52 | DSPROPERTY_VMANAGER_STATE_SILENT, |
| 53 | DSPROPERTY_VMANAGER_STATE_BUMPED, |
| 54 | DSPROPERTY_VMANAGER_STATE_PLAYFAILED |
| 55 | }; |
| 56 | |
| 57 | #ifdef __cplusplus |
| 58 | extern "C" { |
| 59 | #endif |
| 60 | |
| 61 | // {62A69BAE-DF9D-11d1-99A6-00C04FC99D46} |
| 62 | DEFINE_GUID(DSPROPSETID_VoiceManager, 0x62a69bae, 0xdf9d, 0x11d1, 0x99, 0xa6, 0x0, 0xc0, 0x4f, 0xc9, 0x9d, 0x46); |
| 63 | |
| 64 | #ifdef __cplusplus |
| 65 | } |
| 66 | #endif |
| 67 | |
| 68 | #endif |