1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #ifndef __INC_AUDIOSESSIONTYPES__ 7 #define __INC_AUDIOSESSIONTYPES__ 8 9 10 typedef enum _AudioSessionState { 11 AudioSessionStateInactive = 0, 12 AudioSessionStateActive = 1, 13 AudioSessionStateExpired = 2 14 } AudioSessionState; 15 16 typedef enum _AUDCLNT_SHAREMODE { 17 AUDCLNT_SHAREMODE_SHARED, 18 AUDCLNT_SHAREMODE_EXCLUSIVE 19 } AUDCLNT_SHAREMODE; 20 21 22 #define AUDCLNT_STREAMFLAGS_CROSSPROCESS 0x00010000 23 #define AUDCLNT_STREAMFLAGS_LOOPBACK 0x00020000 24 #define AUDCLNT_STREAMFLAGS_EVENTCALLBACK 0x00040000 25 #define AUDCLNT_STREAMFLAGS_NOPERSIST 0x00080000 26 27 #define AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED 0x10000000 28 #define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE 0x20000000 29 #define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED 0x40000000 30 31 #endif /*__INC_AUDIOSESSIONTYPES__*/ 32