equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * OpenAL Bridge - a simple portable library for OpenAL interface |
2 * OpenAL Bridge - a simple portable library for OpenAL interface |
3 * Copyright (c) 2009 Vittorio Giovara <vittorio.giovara@gmail.com>, |
3 * Copyright (c) 2009 Vittorio Giovara <vittorio.giovara@gmail.com> |
4 * Mario Liebisch <mario.liebisch+hw@googlemail.com> |
|
5 * |
4 * |
6 * This program is free software; you can redistribute it and/or modify |
5 * This program is free software; you can redistribute it and/or modify |
7 * it under the terms of the GNU Lesser General Public License as published by |
6 * it under the terms of the GNU Lesser General Public License as published by |
8 * the Free Software Foundation; version 2 of the License |
7 * the Free Software Foundation; version 2 of the License |
9 * |
8 * |
18 */ |
17 */ |
19 |
18 |
20 #ifndef _OALB_LOADERS_H |
19 #ifndef _OALB_LOADERS_H |
21 #define _OALB_LOADERS_H |
20 #define _OALB_LOADERS_H |
22 |
21 |
23 #include "common.h" |
22 #include "globals.h" |
24 #include "wrappers.h" |
23 #include "wrappers.h" |
25 #include "oggvorbis.h" |
24 #include "oggvorbis.h" |
26 |
25 |
27 extern char *prog; |
|
28 |
26 |
29 int load_wavpcm (const char *filename, ALenum *format, char **data, ALsizei *bitsize, ALsizei *freq); |
27 #ifdef __CPLUSPLUS |
30 int load_oggvorbis (const char *filename, ALenum *format, char **data, ALsizei *bitsize, ALsizei *freq); |
28 extern "C" { |
|
29 #endif |
|
30 |
|
31 int load_wavpcm (const char *filename, ALenum *format, char **data, ALsizei *bitsize, ALsizei *freq); |
|
32 int load_oggvorbis (const char *filename, ALenum *format, char **data, ALsizei *bitsize, ALsizei *freq); |
|
33 |
|
34 #ifdef __CPLUSPLUS |
|
35 } |
|
36 #endif |
31 |
37 |
32 #endif /*_OALB_LOADERS_H*/ |
38 #endif /*_OALB_LOADERS_H*/ |