sound.h Source File - ClanLib SDK
Description: sound.h Source File

Sources/API/sound.h
1/*
2** ClanLib SDK
3** Copyright (c) 1997-2020 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/sound.h"
43#include "Sound/soundoutput.h"
44#include "Sound/soundoutput_description.h"
45#include "Sound/soundformat.h"
46#include "Sound/SoundProviders/soundprovider.h"
47#include "Sound/SoundProviders/soundprovider_session.h"
48#include "Sound/SoundProviders/soundprovider_type_register.h"
49#include "Sound/soundbuffer.h"
50#include "Sound/soundbuffer_session.h"
51#include "Sound/soundfilter.h"
52#include "Sound/sound_sse.h"
53
54#include "Sound/SoundProviders/soundprovider_wave.h"
55#include "Sound/SoundProviders/soundprovider_raw.h"
56#include "Sound/SoundProviders/soundprovider_vorbis.h"
57#include "Sound/SoundProviders/soundfilter_provider.h"
58
59#include "Sound/SoundFilters/echofilter.h"
60#include "Sound/SoundFilters/inverse_echofilter.h"
61#include "Sound/SoundFilters/fadefilter.h"
62
63#include "Sound/AudioWorld/audio_definition.h"
64#include "Sound/AudioWorld/audio_object.h"
65#include "Sound/AudioWorld/audio_world.h"
66
67#include "Sound/Resources/sound_cache.h"
68
69#ifdef __cplusplus_cli
70#pragma managed(pop)
71#endif
72
73#if defined(_MSC_VER)
74 #if !defined(_MT)
75 #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.
76 #endif
77 #if !defined(_DEBUG)
78 #if defined(DLL)
79 #pragma comment(lib, "clanSound-dll.lib")
80 #elif defined(_DLL)
81 #pragma comment(lib, "clanSound-static-mtdll.lib")
82 #else
83 #pragma comment(lib, "clanSound-static-mt.lib")
84 #endif
85 #else
86 #if defined(DLL)
87 #pragma comment(lib, "clanSound-dll-debug.lib")
88 #elif defined(_DLL)
89 #pragma comment(lib, "clanSound-static-mtdll-debug.lib")
90 #else
91 #pragma comment(lib, "clanSound-static-mt-debug.lib")
92 #endif
93 #endif
94 #pragma comment(lib, "winmm.lib")
95#endif