Line | |
---|
1 | /* $Id: mixer.h,v 1.4 2002-05-26 10:52:31 sandervl Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Mixer multimedia
|
---|
5 | *
|
---|
6 | * Copyright 2002 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
7 | *
|
---|
8 | *
|
---|
9 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
10 | *
|
---|
11 | */
|
---|
12 |
|
---|
13 | #ifndef __WINMM_MIXER_H__
|
---|
14 | #define __WINMM_MIXER_H__
|
---|
15 |
|
---|
16 | #include "mixeros2.h"
|
---|
17 |
|
---|
18 | #define WINMM_MIXERSTRING_A "OS/2 WINMM Mixer"
|
---|
19 | #define WINMM_MIXERSTRING_W (LPWSTR)L"OS/2 WINMM Mixer"
|
---|
20 |
|
---|
21 | #define WINMM_MIXER_CAPS_WMID 1
|
---|
22 | #define WINMM_MIXER_CAPS_WPID 0x60
|
---|
23 | #define WINMM_MIXER_CAPS_VERSION 0x100
|
---|
24 |
|
---|
25 | #define MAX_MIXER_DESTINATIONS 8
|
---|
26 | #define MAX_MIXER_SOURCES 16
|
---|
27 | #define MAX_MIXER_CONTROLS 64
|
---|
28 |
|
---|
29 |
|
---|
30 | #ifdef __WINE_MMSYSTEM_H
|
---|
31 | typedef struct {
|
---|
32 | MIXERLINEA line;
|
---|
33 | //number of connected source lines
|
---|
34 | int cSources;
|
---|
35 | int Sources[MAX_MIXER_SOURCES];
|
---|
36 | } MIXERDEST;
|
---|
37 | #endif
|
---|
38 |
|
---|
39 | #ifdef __cplusplus
|
---|
40 | extern "C" {
|
---|
41 | #endif
|
---|
42 |
|
---|
43 | BOOL mixerInit();
|
---|
44 | void mixerExit();
|
---|
45 |
|
---|
46 | extern char *szCtrlName[MIX_CTRL_MAX][2];
|
---|
47 | extern char *szSourceName[MIXER_SRC_MAX][2];
|
---|
48 | extern char *szDestName[MIXER_DEST_MAX][2];
|
---|
49 |
|
---|
50 | #ifdef __cplusplus
|
---|
51 | }
|
---|
52 | #endif
|
---|
53 |
|
---|
54 | #endif //__WINMM_MIXER_H__
|
---|
55 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.