Coin Logo Coin3D is Free Software,
published under the BSD 3-clause license.
https://bitbucket.org/Coin3D/
http://www.kongsberg.com/kogt/
simage_libsndfile.h
Go to the documentation of this file.
1 #ifndef SIMAGE_LIBSNDFILE_H
2 #define SIMAGE_LIBSNDFILE_H
3 
4 /*
5  * Copyright (c) Kongsberg Oil & Gas Technologies
6  *
7  * Permission to use, copy, modify, and distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 #ifdef HAVE_CONFIG_H
21 #include <config.h>
22 #endif /* HAVE_CONFIG_H */
23 
24 #ifndef SIMAGE_LIBSNDFILE_SUPPORT
25 #error "This file should not be used under the current configuration!"
26 #endif /* !SIMAGE_LIBSNDFILE_SUPPORT */
27 
28 #include <simage.h>
29 
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
33 
34  int libsndfile_stream_open(const char * filename, s_stream * stream,
35  s_params * params);
36  void * libsndfile_stream_get(s_stream * stream, void * buffer,
37  int *size, s_params * params);
38  int libsndfile_stream_seek(s_stream * stream, int offset, int whence,
39  s_params * params);
41  void libsndfile_stream_close(s_stream * stream);
42 
43 #ifdef __cplusplus
44 }
45 #endif
46 
47 #endif /* SIMAGE_LIBSNDFILE_H */
char * filename
Definition: stream.c:38
int libsndfile_stream_tell(s_stream *stream, s_params *params)
void * libsndfile_stream_get(s_stream *stream, void *buffer, int *size, s_params *params)
Windows specific information.
Definition: params.c:44
Definition: stream.c:37
int libsndfile_stream_open(const char *filename, s_stream *stream, s_params *params)
s_params * params
Definition: stream.c:48
void libsndfile_stream_close(s_stream *stream)
int libsndfile_stream_seek(s_stream *stream, int offset, int whence, s_params *params)