ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

audio_def.hpp
Go to the documentation of this file.
00001 /* PROJECT:         ReactOS sndrec32
00002  * LICENSE:         GPL - See COPYING in the top level directory
00003  * FILE:            base/applications/sndrec32/audio_def.hpp
00004  * PURPOSE:         Winmm abstraction settings
00005  * PROGRAMMERS:     Marco Pagliaricci (irc: rendar)
00006  */
00007 
00008 
00009 
00010 #ifndef _AUDIO_DEF__H_
00011 #define _AUDIO_DEF__H_
00012 
00013 
00014 #include <iostream>
00015 
00016 
00017 
00018 //
00019 // Defaults
00020 //
00021 
00022 
00023 
00024 #define _AUDIO_DEFAULT_FORMAT A44100_16BIT_STEREO
00025 
00026 #define _AUDIO_DEFAULT_WAVEINBUFFERS 3
00027 #define _AUDIO_DEFAULT_WAVEINBUFSECS 0.5f
00028 
00029 #define _AUDIO_DEFAULT_WAVEOUTBUFFERS 3
00030 #define _AUDIO_DEFAULT_WAVEOUTBUFSECS 0.1f
00031 
00032 #define _AUDIO_DEFAULT_BUFSECS 1.0f
00033 
00034 
00035 
00036 //
00037 // Namespace stuff
00038 //
00039 
00040 #define _AUDIO_NAMESPACE_START_ namespace snd {
00041 #define _AUDIO_NAMESPACE_END_ };
00042 
00043 
00044 
00045 
00046 
00047 //
00048 // Platform depend stuff
00049 //
00050 
00051 #include <windows.h>
00052 #include <mmsystem.h> //Windows MultiMedia (WINMM) audio apis
00053 #include <mmreg.h> //codecs stuff
00054 #include <msacm.h> //codecs stuff
00055 
00056 
00057 
00058 
00059 
00060 //#pragma comment(lib, "winmm.lib")
00061 //#pragma comment(lib, "msacm32.lib")
00062 
00063 
00064 
00065 
00066 
00067 
00068 
00069 
00070 #endif //ifdef _AUDIO_DEF__H_

Generated on Mon May 28 2012 04:17:29 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.