summaryrefslogtreecommitdiffstats
path: root/loader/dshow/DS_AudioDec.h
blob: 9c9cad09a101c3a7e76ebd96038dbf94a0e8f6cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/********************************************************

	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) */