summaryrefslogtreecommitdiff
path: root/apps/plugins/xrick/system/syssnd_rockbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/xrick/system/syssnd_rockbox.h')
-rw-r--r--apps/plugins/xrick/system/syssnd_rockbox.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/apps/plugins/xrick/system/syssnd_rockbox.h b/apps/plugins/xrick/system/syssnd_rockbox.h
new file mode 100644
index 0000000000..41bd7d8454
--- /dev/null
+++ b/apps/plugins/xrick/system/syssnd_rockbox.h
@@ -0,0 +1,48 @@
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Port of xrick, a Rick Dangerous clone, to Rockbox.
11 * See http://www.bigorno.net/xrick/
12 *
13 * Copyright (C) 2008-2014 Pierluigi Vicinanza
14 *
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
19 *
20 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21 * KIND, either express or implied.
22 *
23 ****************************************************************************/
24
25#ifndef _SYSSND_ROCKBOX_H
26#define _SYSSND_ROCKBOX_H
27
28#include "xrick/config.h"
29
30#ifdef ENABLE_SOUND
31
32#include "xrick/system/system.h"
33
34typedef struct {
35 sound_t *sound;
36 U8 *buf;
37 U32 len;
38 S8 loop;
39} channel_t;
40
41extern void syssnd_load(sound_t *);
42extern void syssnd_unload(sound_t *);
43
44#endif /* ENABLE_SOUND */
45
46#endif /* ndef _SYSSND_ROCKBOX_H */
47
48/* eof */