Sources/API/sound.h
1 /*
2 ** ClanLib SDK
3 ** Copyright (c) 1997-2013 The ClanLib Team
4 **
5 ** This software is provided 'as-is', without any express or implied
6 ** warranty. In no event will the authors be held liable for any damages
7 ** arising from the use of this software.
8 **
9 ** Permission is granted to anyone to use this software for any purpose,
10 ** including commercial applications, and to alter it and redistribute it
11 ** freely, subject to the following restrictions:
12 **
13 ** 1. The origin of this software must not be misrepresented; you must not
14 ** claim that you wrote the original software. If you use this software
15 ** in a product, an acknowledgment in the product documentation would be
16 ** appreciated but is not required.
17 ** 2. Altered source versions must be plainly marked as such, and must not be
18 ** misrepresented as being the original software.
19 ** 3. This notice may not be removed or altered from any source distribution.
20 **
21 ** Note: Some of the libraries ClanLib may link to may have additional
22 ** requirements or restrictions.
23 **
24 ** File Author(s):
25 **
26 ** Magnus Norddahl
27 */
28 
31 
32 #pragma once
33 
34 #ifdef _MSC_VER
35 #pragma warning( disable : 4786)
36 #endif
37 
38 #ifdef __cplusplus_cli
39 #pragma managed(push, off)
40 #endif
41 
42 #include "Sound/setupsound.h"
43 #include "Sound/sound.h"
44 #include "Sound/soundoutput.h"
45 #include "Sound/soundoutput_description.h"
46 #include "Sound/soundformat.h"
47 #include "Sound/SoundProviders/soundprovider.h"
48 #include "Sound/SoundProviders/soundprovider_session.h"
49 #include "Sound/SoundProviders/soundprovider_type_register.h"
50 #include "Sound/soundbuffer.h"
51 #include "Sound/soundbuffer_session.h"
52 #include "Sound/soundfilter.h"
53 #include "Sound/cd_drive.h"
54 #include "Sound/sound_sse.h"
55 
56 #include "Sound/SoundProviders/soundprovider_wave.h"
57 #include "Sound/SoundProviders/soundprovider_raw.h"
58 #include "Sound/SoundProviders/soundprovider_vorbis.h"
59 #include "Sound/SoundProviders/soundfilter_provider.h"
60 
61 #include "Sound/SoundFilters/echofilter.h"
62 #include "Sound/SoundFilters/inverse_echofilter.h"
63 #include "Sound/SoundFilters/fadefilter.h"
64 
65 #include "Sound/AudioWorld/audio_definition.h"
66 #include "Sound/AudioWorld/audio_object.h"
67 #include "Sound/AudioWorld/audio_world.h"
68 
69 #include "Sound/Resources/sound_cache.h"
70 
71 #ifdef __cplusplus_cli
72 #pragma managed(pop)
73 #endif
74 
75 #if defined(_MSC_VER)
76  #if !defined(_MT)
77  #error Your application is set to link with the single-threaded version of the run-time library. Go to project settings, in the C++ section, and change it to multi-threaded.
78  #endif
79  #if !defined(_DEBUG)
80  #if defined(DLL)
81  #pragma comment(lib, "clanSound-dll.lib")
82  #elif defined(_DLL)
83  #pragma comment(lib, "clanSound-static-mtdll.lib")
84  #else
85  #pragma comment(lib, "clanSound-static-mt.lib")
86  #endif
87  #else
88  #if defined(DLL)
89  #pragma comment(lib, "clanSound-dll-debug.lib")
90  #elif defined(_DLL)
91  #pragma comment(lib, "clanSound-static-mtdll-debug.lib")
92  #else
93  #pragma comment(lib, "clanSound-static-mt-debug.lib")
94  #endif
95  #endif
96  #pragma comment(lib, "winmm.lib")
97 #endif