dxgi: Fix a typo in a comment.
[wine.git] / include / audiosessiontypes.h
blob813831990102401a2551b802a558009d2f939007
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_STREAMFLAGS_SRC_DEFAULT_QUALITY 0x08000000
38 #define AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED 0x10000000
39 #define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE 0x20000000
40 #define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED 0x40000000
41 #define AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM 0x80000000
43 typedef enum _AudioSessionState
45 AudioSessionStateInactive = 0,
46 AudioSessionStateActive,
47 AudioSessionStateExpired,
48 } AudioSessionState;
50 typedef enum _AUDIO_STREAM_CATEGORY
52 AudioCategory_Other = 0,
53 AudioCategory_ForegroundOnlyMedia,
54 AudioCategory_BackgroundCapableMedia,
55 AudioCategory_Communications,
56 AudioCategory_Alerts,
57 AudioCategory_SoundEffects,
58 AudioCategory_GameEffects,
59 AudioCategory_GameMedia,
60 AudioCategory_GameChat,
61 AudioCategory_Speech,
62 AudioCategory_Movie,
63 AudioCategory_Media,
64 } AUDIO_STREAM_CATEGORY;
66 #endif