657b2d728c192eb6254e473c76d028d670f4e4ac
[reactos.git] / reactos / base / applications / sndrec32 / audio_def.hpp
1 #ifndef _AUDIO_DEF__H_
2 #define _AUDIO_DEF__H_
3
4
5 #include <iostream>
6
7 //
8 // Defaults
9 //
10
11 #define _AUDIO_DEFAULT_FORMAT A44100_16BIT_STEREO
12
13 #define _AUDIO_DEFAULT_WAVEINBUFFERS 8
14 #define _AUDIO_DEFAULT_WAVEINBUFSECS 0.1f
15
16 #define _AUDIO_DEFAULT_WAVEOUTBUFFERS 2
17 #define _AUDIO_DEFAULT_WAVEOUTBUFSECS 1.0f
18
19 #define _AUDIO_DEFAULT_BUFSECS 1.0f
20
21
22 //
23 // Namespace stuff
24 //
25
26 #define _AUDIO_NAMESPACE_START_ namespace snd {
27 #define _AUDIO_NAMESPACE_END_ };
28 //
29 // Platform depend stuff
30 //
31
32 #include <windows.h>
33 #include <mmsystem.h> //Windows MultiMedia (WINMM) audio apis
34 #include <mmreg.h> //codecs stuff
35 #include <msacm.h> //codecs stuff
36
37 //#pragma comment(lib, "winmm.lib")
38 //#pragma comment(lib, "msacm32.lib")
39
40 #endif //ifdef _AUDIO_DEF__H_