diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-05-20 16:52:01 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-05-20 16:52:01 +0400 |
commit | fccade9c67d42479bc16dab8666eda45f1a67bef (patch) | |
tree | 8558fd2a6f5f66fcd334ff2e055cc7bbfe0c297d /developer_info | |
parent | da190930a656082cf04bd8cd33b094b9cff75e65 (diff) |
Update developer_info
Diffstat (limited to 'developer_info')
-rw-r--r-- | developer_info/LAVAudioSettings.h | 4 | ||||
-rw-r--r-- | developer_info/LAVSplitterSettings.h | 16 | ||||
-rw-r--r-- | developer_info/LAVVideoSettings.h | 6 |
3 files changed, 15 insertions, 11 deletions
diff --git a/developer_info/LAVAudioSettings.h b/developer_info/LAVAudioSettings.h index fe2bcd7c..f016bbeb 100644 --- a/developer_info/LAVAudioSettings.h +++ b/developer_info/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/developer_info/LAVSplitterSettings.h b/developer_info/LAVSplitterSettings.h index 7e927e11..dc4ec260 100644 --- a/developer_info/LAVSplitterSettings.h +++ b/developer_info/LAVSplitterSettings.h @@ -46,22 +46,22 @@ interface ILAVFSettings : public IUnknown // Retrieve the preferred languages as ISO 639-2 language codes, comma seperated // If the result is NULL, no language has been set // Memory for the string will be allocated, and has to be free'ed by the caller with CoTaskMemFree - STDMETHOD(GetPreferredLanguages)(WCHAR **ppLanguages) = 0; + STDMETHOD(GetPreferredLanguages)(LPWSTR *ppLanguages) = 0; // Set the preferred languages as ISO 639-2 language codes, comma seperated // To reset to no preferred language, pass NULL or the empty string - STDMETHOD(SetPreferredLanguages)(WCHAR *pLanguages) = 0; + STDMETHOD(SetPreferredLanguages)(LPCWSTR pLanguages) = 0; // Retrieve the preferred subtitle languages as ISO 639-2 language codes, comma seperated // If the result is NULL, no language has been set // If no subtitle language is set, the main language preference is used. // Memory for the string will be allocated, and has to be free'ed by the caller with CoTaskMemFree - STDMETHOD(GetPreferredSubtitleLanguages)(WCHAR **ppLanguages) = 0; + STDMETHOD(GetPreferredSubtitleLanguages)(LPWSTR *ppLanguages) = 0; // Set the preferred subtitle languages as ISO 639-2 language codes, comma seperated // To reset to no preferred language, pass NULL or the empty string // If no subtitle language is set, the main language preference is used. - STDMETHOD(SetPreferredSubtitleLanguages)(WCHAR *pLanguages) = 0; + STDMETHOD(SetPreferredSubtitleLanguages)(LPCWSTR pLanguages) = 0; // Get the current subtitle mode // See enum for possible values @@ -124,10 +124,10 @@ interface ILAVFSettings : public IUnknown STDMETHOD_(BOOL,GetFixBrokenHDPVR)() = 0; // Control wether the givne format is enabled - STDMETHOD_(HRESULT,SetFormatEnabled)(const char *strFormat, BOOL bEnabled) = 0; + STDMETHOD_(HRESULT,SetFormatEnabled)(LPCSTR strFormat, BOOL bEnabled) = 0; // Check if the given format is enabled - STDMETHOD_(BOOL,IsFormatEnabled)(const char *strFormat) = 0; + STDMETHOD_(BOOL,IsFormatEnabled)(LPCSTR strFormat) = 0; // Set if LAV Splitter should always completely remove the filter connected to its Audio Pin when the audio stream is changed STDMETHOD(SetStreamSwitchRemoveAudio)(BOOL bEnabled) = 0; @@ -138,12 +138,12 @@ interface ILAVFSettings : public IUnknown // Advanced Subtitle configuration. Refer to the documention for details. // If no advanced config exists, will be NULL. // Memory for the string will be allocated, and has to be free'ed by the caller with CoTaskMemFree - STDMETHOD(GetAdvancedSubtitleConfig)(WCHAR **ppAdvancedConfig) = 0; + STDMETHOD(GetAdvancedSubtitleConfig)(LPWSTR *ppAdvancedConfig) = 0; // Advanced Subtitle configuration. Refer to the documention for details. // To reset the config, pass NULL or the empty string. // If no subtitle language is set, the main language preference is used. - STDMETHOD(SetAdvancedSubtitleConfig)(WCHAR *pAdvancedConfig) = 0; + STDMETHOD(SetAdvancedSubtitleConfig)(LPCWSTR pAdvancedConfig) = 0; // Set if LAV Splitter should prefer audio streams for the hearing or visually impaired STDMETHOD(SetUseAudioForHearingVisuallyImpaired)(BOOL bEnabled) = 0; diff --git a/developer_info/LAVVideoSettings.h b/developer_info/LAVVideoSettings.h index 3bf23b31..816865eb 100644 --- a/developer_info/LAVVideoSettings.h +++ b/developer_info/LAVVideoSettings.h @@ -77,6 +77,8 @@ typedef enum LAVVideoCodec { Codec_Snow, Codec_FFV1, Codec_v210, + Codec_JPEG2000, + Codec_VMNC, Codec_VideoNB // Number of entrys (do not use when dynamically linking) }; @@ -167,6 +169,8 @@ typedef enum LAVOutPixFmts { LAVOutPixFmt_YV16, // 4:2:2, 8-bit, planar LAVOutPixFmt_YV24, // 4:4:4, 8-bit, planar + LAVOutPixFmt_RGB48, // 48-bit RGB (16-bit per pixel, BGR) + LAVOutPixFmt_NB // Number of formats } LAVOutPixFmts; @@ -350,5 +354,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; }; |