FS2_Open
Open source remastering of the Freespace 2 engine
acm.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Volition, Inc. 1999. All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell
5  * or otherwise commercially exploit the source or things you created based on the
6  * source.
7  *
8 */
9 
10 
11 
12 #ifndef __FREESPACE_ACM_H__
13 #define __FREESPACE_ACM_H__
14 
15 #ifdef _WIN32
16 #include <windows.h>
17 #include "mm/mmreg.h"
18 #endif
19 
20 #include "globalincs/pstypes.h"
21 
22 int ACM_convert_ADPCM_to_PCM(WAVEFORMATEX *pwfxSrc, ubyte *src, int src_len, ubyte **dest, int max_dest_bytes, int *dest_len, unsigned int *src_bytes_used, int dest_bps=16);
23 
24 int ACM_stream_open(WAVEFORMATEX *pwfxSrc, WAVEFORMATEX *pwfxDest, void **stream, int dest_bps=16);
25 int ACM_stream_close(void *stream);
26 int ACM_query_source_size(void *stream, int dest_len);
27 int ACM_query_dest_size(void *stream, int src_len);
28 
29 int ACM_convert(void *stream, ubyte *src, int src_len, ubyte *dest, int max_dest_bytes, unsigned int *dest_len, unsigned int *src_bytes_used);
30 
31 
32 #endif /* __ACM_H__ */
int ACM_stream_close(void *stream)
Definition: acm.cpp:591
GLuint GLuint stream
Definition: Glext.h:7079
int ACM_query_dest_size(void *stream, int src_len)
Definition: acm.cpp:620
int ACM_stream_open(WAVEFORMATEX *pwfxSrc, WAVEFORMATEX *pwfxDest, void **stream, int dest_bps=16)
Definition: acm.cpp:499
int ACM_convert(void *stream, ubyte *src, int src_len, ubyte *dest, int max_dest_bytes, unsigned int *dest_len, unsigned int *src_bytes_used)
Definition: acm.cpp:635
unsigned char ubyte
Definition: pstypes.h:62
int ACM_convert_ADPCM_to_PCM(WAVEFORMATEX *pwfxSrc, ubyte *src, int src_len, ubyte **dest, int max_dest_bytes, int *dest_len, unsigned int *src_bytes_used, int dest_bps=16)
Definition: acm.cpp:351
GLenum src
Definition: Glext.h:5917
int ACM_query_source_size(void *stream, int dest_len)
Definition: acm.cpp:605