annotate loader/dshow/DS_AudioDecoder.h @ 3283:73de2c85844d

FreeBSD install nas* to /usr/X11 by default (and require -lm)
author nexus
date Mon, 03 Dec 2001 15:57:10 +0000
parents 004e3199fee0
children 0c0042de1f95
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
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
25 DS_AudioDecoder * DS_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf);
1545
da26060c81ef big avifile sync - from now we have common code
arpi
parents:
diff changeset
26
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
27 void DS_AudioDecoder_Destroy(DS_AudioDecoder *this);
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
28
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
29 int DS_AudioDecoder_Convert(DS_AudioDecoder *this, const void* in_data, uint_t in_size,
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
30 void* out_data, uint_t out_size,
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
31 uint_t* size_read, uint_t* size_written);
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
32
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
33 int DS_AudioDecoder_GetSrcSize(DS_AudioDecoder *this, int dest_size);
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
34
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
35
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
36 #endif // AVIFILE_DS_AUDIODECODER_H