view loader/dshow/DS_AudioDec.h @ 241:7ac45cb428c5

no more segfaults in msgsm32.acm with the Setup_FS patch
author arpi_esp
date Wed, 28 Mar 2001 22:55:36 +0000
parents 45778577e6aa
children 61c392d6316e
line wrap: on
line source

/********************************************************

	DirectShow Audio decoder implementation
	Copyright 2000 Eugene Kuznetsov  (divx@euro.ru)
        Converted  C++ --> C  :) by A'rpi/ESP-team

*********************************************************/

#ifdef __cplusplus
extern "C" {
#endif /* defined(__cplusplus) */

int DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf);

void DS_AudioDecoder_Close();

int DS_AudioDecoder_GetSrcSize(int dest_size);

int DS_AudioDecoder_Convert(unsigned char* in_data, unsigned in_size,
	     unsigned char* out_data, unsigned out_size,
	    unsigned* size_read, unsigned* size_written);

#ifdef __cplusplus
} /* extern "C" */
#endif /* defined(__cplusplus) */