diff options
| author | manuel <manuel@mausz.at> | 2017-06-04 16:57:49 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2017-06-04 16:57:49 +0200 |
| commit | f44ecaa4f27e7538ddcad66d40e543bffa2d2d86 (patch) | |
| tree | d8de60fc7e17edeb6f0921726c038ee54b281445 /xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_audiodec_dll.h | |
| parent | ae08c8b7221bc965ac40d70e53fc8fcddb050c46 (diff) | |
| download | kodi-pvr-build-f44ecaa4f27e7538ddcad66d40e543bffa2d2d86.tar.gz kodi-pvr-build-f44ecaa4f27e7538ddcad66d40e543bffa2d2d86.tar.bz2 kodi-pvr-build-f44ecaa4f27e7538ddcad66d40e543bffa2d2d86.zip | |
sync with upstream
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_audiodec_dll.h')
| -rw-r--r-- | xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_audiodec_dll.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_audiodec_dll.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_audiodec_dll.h index 78bc3cc..5232947 100644 --- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_audiodec_dll.h +++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/kodi_audiodec_dll.h | |||
| @@ -48,13 +48,15 @@ extern "C" | |||
| 48 | bool DeInit(void* context); | 48 | bool DeInit(void* context); |
| 49 | 49 | ||
| 50 | // function to export the above structure to XBMC | 50 | // function to export the above structure to XBMC |
| 51 | void __declspec(dllexport) get_addon(struct AudioDecoder* pScr) | 51 | void __declspec(dllexport) get_addon(void* ptr) |
| 52 | { | 52 | { |
| 53 | pScr->Init = Init; | 53 | AddonInstance_AudioDecoder* pScr = static_cast<AddonInstance_AudioDecoder*>(ptr); |
| 54 | pScr->ReadPCM = ReadPCM; | 54 | |
| 55 | pScr->Seek = Seek; | 55 | pScr->toAddon.Init = Init; |
| 56 | pScr->ReadTag = ReadTag; | 56 | pScr->toAddon.ReadPCM = ReadPCM; |
| 57 | pScr->TrackCount = TrackCount; | 57 | pScr->toAddon.Seek = Seek; |
| 58 | pScr->DeInit = DeInit; | 58 | pScr->toAddon.ReadTag = ReadTag; |
| 59 | pScr->toAddon.TrackCount = TrackCount; | ||
| 60 | pScr->toAddon.DeInit = DeInit; | ||
| 59 | }; | 61 | }; |
| 60 | }; | 62 | }; |
