winemaker: Avoid setting variable to an uninitialized value.
[wine/hramrach.git] / include / audiosessiontypes.h
blobb9435f127fb72e43af0f86926afb113b5a084433
2 /*
3 * Core Audio audio session types definitions
5 * Copyright 2009 Maarten Lankhorst
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 #ifndef __AUDIOSESSIONTYPES__
24 #define __AUDIOSESSIONTYPES__
26 typedef enum _AUDCLNT_SHAREMODE
28 AUDCLNT_SHAREMODE_SHARED,
29 AUDCLNT_SHAREMODE_EXCLUSIVE,
30 } AUDCLNT_SHAREMODE;
32 #define AUDCLNT_STREAMFLAGS_CROSSPROCESS 0x00010000
33 #define AUDCLNT_STREAMFLAGS_LOOPBACK 0x00020000
34 #define AUDCLNT_STREAMFLAGS_EVENTCALLBACK 0x00040000
35 #define AUDCLNT_STREAMFLAGS_NOPERSIST 0x00080000
36 #define AUDCLNT_STREAMFLAGS_RATEADJUST 0x00100000
37 #define AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED 0x10000000
38 #define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE 0x20000000
39 #define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED 0x40000000
41 typedef enum _AudioSessionState
43 AudioSessionStateInactive = 0,
44 AudioSessionStateActive,
45 AudioSessionStateExpired,
46 } AudioSessionState;
48 #endif