view loader/dmo/DMO_AudioDecoder.h @ 25560:4627866e3697

Properly express dependencies for generated .c and .h files. This fixes parallel make runs, compare Bugzilla #967.
author diego
date Wed, 02 Jan 2008 21:50:30 +0000
parents de09fcf0b4f1
children 2c8cdb9123b8
line wrap: on
line source

#ifndef AVIFILE_DMO_AUDIODECODER_H
#define AVIFILE_DMO_AUDIODECODER_H

typedef struct _DMO_AudioDecoder DMO_AudioDecoder;

//DMO_AudioDecoder * DMO_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf);
DMO_AudioDecoder * DMO_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf,int out_channels);

void DMO_AudioDecoder_Destroy(DMO_AudioDecoder *this);

int DMO_AudioDecoder_Convert(DMO_AudioDecoder *this, const void* in_data, unsigned int in_size,
			     void* out_data, unsigned int out_size,
			     unsigned int* size_read, unsigned int* size_written);

int DMO_AudioDecoder_GetSrcSize(DMO_AudioDecoder *this, int dest_size);

#endif /* AVIFILE_DMO_AUDIODECODER_H */