Skip to content

Commit

Permalink
remove no more used part
Browse files Browse the repository at this point in the history
  • Loading branch information
AlwinEsch committed May 18, 2017
1 parent 9b5371a commit dd32395
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
2 changes: 1 addition & 1 deletion adsp.freesurround/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="adsp.freesurround"
version="0.3.0"
version="0.3.1"
name="Free Surround Processor"
provider-name="Team KODI">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
27 changes: 0 additions & 27 deletions src/addon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,31 +158,6 @@ void ADDON_Destroy()
m_CurStatus = ADDON_STATUS_UNKNOWN;
}

bool ADDON_HasSettings()
{
return true;
}

const char* GetAudioDSPAPIVersion(void)
{
return KODI_AE_DSP_API_VERSION;
}

const char* GetMinimumAudioDSPAPIVersion(void)
{
return KODI_AE_DSP_MIN_API_VERSION;
}

const char* GetGUIAPIVersion(void)
{
return KODI_GUILIB_API_VERSION;
}

const char* GetMinimumGUIAPIVersion(void)
{
return KODI_GUILIB_MIN_API_VERSION;
}

AE_DSP_ERROR GetAddonCapabilities(AE_DSP_ADDON_CAPABILITIES* pCapabilities)
{
pCapabilities->bSupportsInputProcess = false;
Expand Down Expand Up @@ -269,10 +244,8 @@ int MasterProcessGetOutChannels(const ADDON_HANDLE handle, unsigned long &out_ch
/*!
* Unused DSP addon functions
*/
unsigned int ADDON_GetSettings(ADDON_StructSetting ***sSet) { return 0; }
ADDON_STATUS ADDON_SetSetting(const char *settingName, const void *settingValue) { return ADDON_STATUS_OK; }
void ADDON_Stop() {}
void ADDON_FreeSettings() {}
void ADDON_Announce(const char *flag, const char *sender, const char *message, const void *data) {}
bool InputProcess(const ADDON_HANDLE handle, const float **array_in, unsigned int samples) { return true; }
unsigned int InputResampleProcessNeededSamplesize(const ADDON_HANDLE handle) { return 0; }
Expand Down

0 comments on commit dd32395

Please sign in to comment.