annotate loader/dshow/DS_AudioDecoder.h @ 15533:ddf15d233d58

Do not switch to audio tracks whose codec private data differs from the main audio track's as this will most likely result in messed up audio output. Patch by Michael Behrisch <list () behrisch ! de>
author mosu
date Sat, 21 May 2005 06:50:08 +0000
parents c00db356082f
children de09fcf0b4f1
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
3946
c00db356082f headers cleanup
arpi
parents: 3444
diff changeset
4 typedef struct _DS_AudioDecoder DS_AudioDecoder;
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
5
3444
0c0042de1f95 API changes - now fully compatible with C++ version
arpi
parents: 3063
diff changeset
6 //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
7 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
8
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
9 void DS_AudioDecoder_Destroy(DS_AudioDecoder *this);
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
10
3946
c00db356082f headers cleanup
arpi
parents: 3444
diff changeset
11 int DS_AudioDecoder_Convert(DS_AudioDecoder *this, const void* in_data, unsigned int in_size,
c00db356082f headers cleanup
arpi
parents: 3444
diff changeset
12 void* out_data, unsigned int out_size,
c00db356082f headers cleanup
arpi
parents: 3444
diff changeset
13 unsigned int* size_read, unsigned int* size_written);
3059
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
14
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
15 int DS_AudioDecoder_GetSrcSize(DS_AudioDecoder *this, int dest_size);
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
16
24fa494bedb1 imported from xine
arpi
parents: 2072
diff changeset
17 #endif // AVIFILE_DS_AUDIODECODER_H