4.104.115
Line | |
---|
1 | /*--------------------------------------------------------------------------------- |
---|
2 | $Id$ |
---|
3 | |
---|
4 | Sound Functions |
---|
5 | |
---|
6 | Copyright (C) 2005 |
---|
7 | Dave Murphy (WinterMute) |
---|
8 | |
---|
9 | This software is provided 'as-is', without any express or implied |
---|
10 | warranty. In no event will the authors be held liable for any |
---|
11 | damages arising from the use of this software. |
---|
12 | |
---|
13 | Permission is granted to anyone to use this software for any |
---|
14 | purpose, including commercial applications, and to alter it and |
---|
15 | redistribute it freely, subject to the following restrictions: |
---|
16 | |
---|
17 | 1. The origin of this software must not be misrepresented; you |
---|
18 | must not claim that you wrote the original software. If you use |
---|
19 | this software in a product, an acknowledgment in the product |
---|
20 | documentation would be appreciated but is not required. |
---|
21 | 2. Altered source versions must be plainly marked as such, and |
---|
22 | must not be misrepresented as being the original software. |
---|
23 | 3. This notice may not be removed or altered from any source |
---|
24 | distribution. |
---|
25 | |
---|
26 | ---------------------------------------------------------------------------------*/ |
---|
27 | #ifndef _sound_h_ |
---|
28 | #define _sound_h_ |
---|
29 | |
---|
30 | #ifdef __cplusplus |
---|
31 | extern "C" { |
---|
32 | #endif |
---|
33 | |
---|
34 | #include <nds/ipc.h> |
---|
35 | |
---|
36 | void playSound( pTransferSoundData sound); |
---|
37 | void setGenericSound( u32 rate, u8 vol, u8 pan, u8 format); |
---|
38 | void playGenericSound(const void* data, u32 length); |
---|
39 | |
---|
40 | |
---|
41 | #ifdef __cplusplus |
---|
42 | } |
---|
43 | #endif |
---|
44 | |
---|
45 | #endif // _sound_h_ |
---|
Note: See
TracBrowser
for help on using the repository browser.