14 * You should have received a copy of the GNU General Public License |
14 * You should have received a copy of the GNU General Public License |
15 * along with this program; if not, write to the Free Software |
15 * along with this program; if not, write to the Free Software |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
17 */ |
17 */ |
18 |
18 |
|
19 #ifndef _OALB_LOADERS_H |
|
20 #define _OALB_LOADERS_H |
|
21 |
19 #include "globals.h" |
22 #include "globals.h" |
|
23 #include "wrappers.h" |
|
24 #include "oggvorbis.h" |
|
25 #include "endianness.h" |
20 |
26 |
21 |
27 |
22 #ifdef __CPLUSPLUS |
28 #ifdef __CPLUSPLUS |
23 extern "C" { |
29 extern "C" { |
24 #endif |
30 #endif |
25 |
31 |
26 #pragma once |
32 int load_WavPcm (const char *filename, ALenum *format, char **data, ALsizei *bitsize, ALsizei *freq); |
27 |
33 int load_OggVorbis (const char *filename, ALenum *format, char **data, ALsizei *bitsize, ALsizei *freq); |
28 int load_WavPcm (const char *filename, ALenum *format, uint8_t **data, ALsizei *bitsize, ALsizei *freq); |
|
29 int load_OggVorbis (const char *filename, ALenum *format, uint8_t **data, ALsizei *bitsize, ALsizei *freq); |
|
30 |
34 |
31 #ifdef __CPLUSPLUS |
35 #ifdef __CPLUSPLUS |
32 } |
36 } |
33 #endif |
37 #endif |
|
38 |
|
39 #endif /*_OALB_LOADERS_H*/ |