FS2_Open
Open source remastering of the Freespace 2 engine
acm.h File Reference

Go to the source code of this file.

Functions

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)
 
int ACM_stream_open (WAVEFORMATEX *pwfxSrc, WAVEFORMATEX *pwfxDest, void **stream, int dest_bps=16)
 
int ACM_stream_close (void *stream)
 
int ACM_query_source_size (void *stream, int dest_len)
 
int ACM_query_dest_size (void *stream, int src_len)
 
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)
 

Function Documentation

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 at line 635 of file acm.cpp.

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 at line 351 of file acm.cpp.

int ACM_query_dest_size ( void stream,
int  src_len 
)

Definition at line 620 of file acm.cpp.

int ACM_query_source_size ( void stream,
int  dest_len 
)

Definition at line 605 of file acm.cpp.

int ACM_stream_close ( void stream)

Definition at line 591 of file acm.cpp.

int ACM_stream_open ( WAVEFORMATEX pwfxSrc,
WAVEFORMATEX pwfxDest,
void **  stream,
int  dest_bps = 16 
)

Definition at line 499 of file acm.cpp.