view loader/dshow/DS_AudioDecoder.h @ 34847:44210843ba79

Update MimeType key in the desktop file. This complies with the freedesktop.org shared MIME info database. The following MIME types not registered with IANA are used: application/ram application/vnd.rn-realmedia audio/flac (in addition to audio/x-flac, see (*) below) audio/mp2 (see (**) below) audio/vnd.rn-realaudio video/vnd.rn-realvideo video/webm (*) freedesktop.org changed that from the correct, non-standard type audio/x-flac in v0.80 "for consistency with other xiph.org types not yet registered in IANA" (**) freedesktop.org introduced that in v0.22, not using the correct, non-standard type audio/x-mp2 which was added in v0.60, but only as an alias
author ib
date Mon, 21 May 2012 09:45:29 +0000
parents 837cd9762b4e
children
line wrap: on
line source

#ifndef MPLAYER_DS_AUDIODECODER_H
#define MPLAYER_DS_AUDIODECODER_H

#include "loader/com.h"
#include "loader/wine/mmreg.h"

typedef struct DS_AudioDecoder DS_AudioDecoder;

//DS_AudioDecoder * DS_AudioDecoder_Create(const CodecInfo * info, const WAVEFORMATEX* wf);
DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf);

void DS_AudioDecoder_Destroy(DS_AudioDecoder *this);

int DS_AudioDecoder_Convert(DS_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 DS_AudioDecoder_GetSrcSize(DS_AudioDecoder *this, int dest_size);

#endif /* MPLAYER_DS_AUDIODECODER_H */