annotate loader/dshow/DS_AudioDecoder.h @ 3450:d42b541da88a

updateded to line ~500
author jaf
date Mon, 10 Dec 2001 22:21:09 +0000
parents 0c0042de1f95
children c00db356082f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
1 #ifndef AVIFILE_DS_AUDIODECODER_H
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
2 #define AVIFILE_DS_AUDIODECODER_H
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
3
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
4 #ifndef NOAVIFILE_HEADERS
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
5 #include "audiodecoder.h"
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
6 #include "except.h"
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
7 #else
3063
004e3199fee0 mplayer integration
arpi
parents: 3059
diff changeset
8 #include "libwin32.h"
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
9 #endif
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
10 #include "DS_Filter.h"
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
11
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
12 typedef struct _DS_AudioDecoder
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
13 {
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
14 WAVEFORMATEX in_fmt;
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
15 AM_MEDIA_TYPE m_sOurType, m_sDestType;
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
16 DS_Filter* m_pDS_Filter;
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
17 char* m_sVhdr;
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
18 char* m_sVhdr2;
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
19 }DS_AudioDecoder;
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
20
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
21 #ifndef uint_t
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
22 #define uint_t int
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
23 #endif
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
24
3444
0c0042de1f95 API changes - now fully compatible with C++ version
arpi
parents: 3063
diff changeset
25 //DS_AudioDecoder * DS_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf);
0c0042de1f95 API changes - now fully compatible with C++ version
arpi
parents: 3063
diff changeset
26 DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf);
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
27
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
28 void DS_AudioDecoder_Destroy(DS_AudioDecoder *this);
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
29
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
30 int DS_AudioDecoder_Convert(DS_AudioDecoder *this, const void* in_data, uint_t in_size,
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
31 void* out_data, uint_t out_size,
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
32 uint_t* size_read, uint_t* size_written);
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
33
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
34 int DS_AudioDecoder_GetSrcSize(DS_AudioDecoder *this, int dest_size);
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
35
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
36
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
37 #endif // AVIFILE_DS_AUDIODECODER_H