diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-05-09 12:56:58 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-05-09 12:56:58 +0400 |
commit | a1faac3fbd4ce93fd4c2e47945fd6221d030b2b1 (patch) | |
tree | c9bf3e773c40ff789f95a729e3382f85cbf8f251 /decoder | |
parent | db98cfe0692f4e95676568fc1161f221246c380b (diff) |
Prefer string type macros in external interfaces
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/LAVAudio/LAVAudioSettings.h | 4 | ||||
-rw-r--r-- | decoder/LAVVideo/LAVVideoSettings.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/decoder/LAVAudio/LAVAudioSettings.h b/decoder/LAVAudio/LAVAudioSettings.h index fe2bcd7c..f016bbeb 100644 --- a/decoder/LAVAudio/LAVAudioSettings.h +++ b/decoder/LAVAudio/LAVAudioSettings.h @@ -195,10 +195,10 @@ interface ILAVAudioStatus : public IUnknown STDMETHOD_(BOOL,IsSampleFormatSupported)(LAVAudioSampleFormat sfCheck) = 0; // Get details about the current decoding format - STDMETHOD(GetDecodeDetails)(const char **pCodec, const char **pDecodeFormat, int *pnChannels, int *pSampleRate, DWORD *pChannelMask) = 0; + STDMETHOD(GetDecodeDetails)(LPCSTR *pCodec, LPCSTR *pDecodeFormat, int *pnChannels, int *pSampleRate, DWORD *pChannelMask) = 0; // Get details about the current output format - STDMETHOD(GetOutputDetails)(const char **pOutputFormat, int *pnChannels, int *pSampleRate, DWORD *pChannelMask) = 0; + STDMETHOD(GetOutputDetails)(LPCSTR *pOutputFormat, int *pnChannels, int *pSampleRate, DWORD *pChannelMask) = 0; // Enable Volume measurements STDMETHOD(EnableVolumeStats)() = 0; diff --git a/decoder/LAVVideo/LAVVideoSettings.h b/decoder/LAVVideo/LAVVideoSettings.h index 3bf23b31..54ea1084 100644 --- a/decoder/LAVVideo/LAVVideoSettings.h +++ b/decoder/LAVVideo/LAVVideoSettings.h @@ -350,5 +350,5 @@ interface ILAVVideoSettings : public IUnknown interface ILAVVideoStatus : public IUnknown { // Get the name of the active decoder (can return NULL if none is active) - STDMETHOD_(const WCHAR *, GetActiveDecoderName)() = 0; + STDMETHOD_(LPCWSTR, GetActiveDecoderName)() = 0; }; |