189
|
1 /********************************************************
|
|
2
|
|
3 DirectShow Audio decoder implementation
|
|
4 Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
|
|
5 Converted C++ --> C :) by A'rpi/ESP-team
|
|
6
|
|
7 *********************************************************/
|
|
8
|
|
9 #ifdef __cplusplus
|
|
10 extern "C" {
|
|
11 #endif /* defined(__cplusplus) */
|
|
12
|
|
13 int DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf);
|
|
14
|
|
15 void DS_AudioDecoder_Close();
|
|
16
|
|
17 int DS_AudioDecoder_GetSrcSize(int dest_size);
|
|
18
|
|
19 int DS_AudioDecoder_Convert(unsigned char* in_data, unsigned in_size,
|
|
20 unsigned char* out_data, unsigned out_size,
|
|
21 unsigned* size_read, unsigned* size_written);
|
|
22
|
|
23 #ifdef __cplusplus
|
|
24 } /* extern "C" */
|
|
25 #endif /* defined(__cplusplus) */
|