diff options
author | Alwin Esch <alwin.esch@web.de> | 2016-12-11 13:48:45 +0100 |
---|---|---|
committer | Alwin Esch <alwin.esch@web.de> | 2016-12-17 21:42:25 +0100 |
commit | b5ae068ccf379a8c74065df10d0a687344519019 (patch) | |
tree | efd1f479727ec3169e13a7fd5cb48f16f380fff7 | |
parent | 008b423e44ec2ae103a42b3bba0733d7812d6c39 (diff) |
[addons] rename struct AudioEncoder to KodiToAddonFuncTable_AudioEncoder
-rw-r--r-- | xbmc/addons/AudioEncoder.h | 2 | ||||
-rw-r--r-- | xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_dll.h | 2 | ||||
-rw-r--r-- | xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_types.h | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/xbmc/addons/AudioEncoder.h b/xbmc/addons/AudioEncoder.h index f5b7e29051..4c679de39b 100644 --- a/xbmc/addons/AudioEncoder.h +++ b/xbmc/addons/AudioEncoder.h @@ -46,7 +46,7 @@ namespace ADDON private: void *m_context; ///< audio encoder context AUDIOENC_PROPS m_info; - AudioEncoder m_struct; + KodiToAddonFuncTable_AudioEncoder m_struct; }; } /*namespace ADDON*/ diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_dll.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_dll.h index 54561f2b96..6805333c9c 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_dll.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_dll.h @@ -48,7 +48,7 @@ extern "C" // function to export the above structure to XBMC void __declspec(dllexport) get_addon(void* enc) { - AudioEncoder* pScr = static_cast<AudioEncoder*>(enc); + KodiToAddonFuncTable_AudioEncoder* pScr = static_cast<KodiToAddonFuncTable_AudioEncoder*>(enc); pScr->Create = Create; pScr->Start = Start; diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_types.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_types.h index df5164e53f..f7ae925d7a 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_types.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/xbmc_audioenc_types.h @@ -55,7 +55,7 @@ extern "C" audioenc_seek_callback seek; } audioenc_callbacks; - struct AudioEncoder + typedef struct KodiToAddonFuncTable_AudioEncoder { /*! \brief Create encoder context \param callbacks Pointer to audioenc_callbacks structure. @@ -105,6 +105,6 @@ extern "C" \param context Encoder context to free. */ void (__cdecl* Free)(void* context); - }; + } KodiToAddonFuncTable_AudioEncoder; } |