ReactOS 0.4.16-dev-329-g9223134
audio_def.hpp
Go to the documentation of this file.
1/* PROJECT: ReactOS sndrec32
2 * LICENSE: GPL - See COPYING in the top level directory
3 * FILE: base/applications/sndrec32/audio_def.hpp
4 * PURPOSE: Winmm abstraction settings
5 * PROGRAMMERS: Marco Pagliaricci (irc: rendar)
6 */
7
8#ifndef _AUDIO_DEF__H_
9#define _AUDIO_DEF__H_
10
11/* Defaults */
12
13#define _AUDIO_DEFAULT_FORMAT A44100_16BIT_STEREO
14
15#define _AUDIO_DEFAULT_WAVEINBUFFERS 3
16#define _AUDIO_DEFAULT_WAVEINBUFSECS 0.5f
17
18#define _AUDIO_DEFAULT_WAVEOUTBUFFERS 3
19#define _AUDIO_DEFAULT_WAVEOUTBUFSECS 0.1f
20
21#define _AUDIO_DEFAULT_BUFSECS 1.0f
22
23/* Namespace stuff */
24#define _AUDIO_NAMESPACE_START_ namespace snd {
25#define _AUDIO_NAMESPACE_END_ };
26
27/* Platform depend stuff */
28#include <mmsystem.h> // Windows MultiMedia (WINMM) audio apis
29#include <mmreg.h> // codecs stuff
30#include <msacm.h> // codecs stuff
31
32//#pragma comment(lib, "winmm.lib")
33//#pragma comment(lib, "msacm32.lib")
34
35#endif //ifdef _AUDIO_DEF__H_