summaryrefslogtreecommitdiffstats
path: root/src/read-sound-file.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-05-27 00:30:25 +0000
committerLennart Poettering <lennart@poettering.net>2008-05-27 00:30:25 +0000
commit6a75b780762a8695a83e0e94e6fcbce4d2f73573 (patch)
treee2b41bd6dd4d9a5751c6b0e91f329530c0b5447f /src/read-sound-file.h
parentd7fd6a45e50475cddf0b8bad8baab01b33cf3c1f (diff)
autoconfization
git-svn-id: file:///home/lennart/svn/public/libcanberra/trunk@13 01b60673-d06a-42c0-afdd-89cb8e0f78ac
Diffstat (limited to 'src/read-sound-file.h')
-rw-r--r--src/read-sound-file.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/read-sound-file.h b/src/read-sound-file.h
index 5ab7e66..f236b13 100644
--- a/src/read-sound-file.h
+++ b/src/read-sound-file.h
@@ -23,15 +23,18 @@
<http://www.gnu.org/licenses/>.
***/
+#include <sys/types.h>
+#include <inttypes.h>
+
typedef enum ca_sample_type {
CA_SAMPLE_S16NE,
CA_SAMPLE_S16RE,
CA_SAMPLE_U8
} ca_sample_type_t;
-typedef struct ca_sound_file wa_sound_file;
+typedef struct ca_sound_file ca_sound_file;
-int ca_sound_file_open(ca_sound_file *f, const char *fn);
+int ca_sound_file_open(ca_sound_file **f, const char *fn);
void ca_sound_file_close(ca_sound_file *f);
unsigned ca_sound_file_get_nchannels(ca_sound_file *f);