blob: b9435f127fb72e43af0f86926afb113b5a084433 [file] [log] [blame]
Maarten Lankhorstffbefc62009-11-10 09:16:33 +01001
2/*
3 * Core Audio audio session types definitions
4 *
5 * Copyright 2009 Maarten Lankhorst
6 *
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.
11 *
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.
16 *
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
20 *
21 */
22
23#ifndef __AUDIOSESSIONTYPES__
24#define __AUDIOSESSIONTYPES__
25
26typedef enum _AUDCLNT_SHAREMODE
27{
28 AUDCLNT_SHAREMODE_SHARED,
29 AUDCLNT_SHAREMODE_EXCLUSIVE,
30} AUDCLNT_SHAREMODE;
31
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
40
41typedef enum _AudioSessionState
42{
43 AudioSessionStateInactive = 0,
44 AudioSessionStateActive,
45 AudioSessionStateExpired,
46} AudioSessionState;
47
48#endif