1 #ifndef SIMAGE_LIBSNDFILE_H
2 #define SIMAGE_LIBSNDFILE_H
3 
4 #include <config.h>
5 
6 #ifndef SIMAGE_LIBSNDFILE_SUPPORT
7 #error "This file should not be used under the current configuration!"
8 #endif /* !SIMAGE_LIBSNDFILE_SUPPORT */
9 
10 #include <simage.h>
11 
12 int libsndfile_stream_open(const char * filename, s_stream * stream,
13                                  s_params * params);
14 void * libsndfile_stream_get(s_stream * stream, void * buffer,
15                                    int *size, s_params * params);
16 int libsndfile_stream_seek(s_stream * stream, int offset, int whence,
17                                  s_params * params);
18 int libsndfile_stream_tell(s_stream * stream, s_params * params);
19 void libsndfile_stream_close(s_stream * stream);
20 
21 #endif /* SIMAGE_LIBSNDFILE_H */
22