iccvid: Fix calculation of stride and size.
[wine.git] / include / audiosessiontypes.h
blob2f785743539f1791564fe46f35034e9fb5e1185a
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 typedef enum _AUDIO_STREAM_CATEGORY
50 AudioCategory_Other = 0,
51 AudioCategory_ForegroundOnlyMedia,
52 AudioCategory_BackgroundCapableMedia,
53 AudioCategory_Communications,
54 AudioCategory_Alerts,
55 AudioCategory_SoundEffects,
56 AudioCategory_GameEffects,
57 AudioCategory_GameMedia
58 } AUDIO_STREAM_CATEGORY;
60 #endif