From a1faac3fbd4ce93fd4c2e47945fd6221d030b2b1 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Thu, 9 May 2013 10:56:58 +0200 Subject: Prefer string type macros in external interfaces --- decoder/LAVAudio/LAVAudioSettings.h | 4 ++-- decoder/LAVVideo/LAVVideoSettings.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'decoder') 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; }; -- cgit v1.2.3