Fixed a memory leak and updated VS2017 project dependencies.

This commit is contained in:
casey langen 2018-12-19 17:19:12 -08:00
parent 6236247969
commit c59ec77358
2 changed files with 5 additions and 2 deletions

View File

@ -11,6 +11,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "musikcube", "src\musikcube\
{EBD2E652-AA1B-4B8B-8D03-CCECB9BF3304} = {EBD2E652-AA1B-4B8B-8D03-CCECB9BF3304} {EBD2E652-AA1B-4B8B-8D03-CCECB9BF3304} = {EBD2E652-AA1B-4B8B-8D03-CCECB9BF3304}
{54764854-5A73-4329-9BAD-9AF22C72D9E2} = {54764854-5A73-4329-9BAD-9AF22C72D9E2} {54764854-5A73-4329-9BAD-9AF22C72D9E2} = {54764854-5A73-4329-9BAD-9AF22C72D9E2}
{43A78C57-C9A3-4852-B0BE-05335C5C077D} = {43A78C57-C9A3-4852-B0BE-05335C5C077D} {43A78C57-C9A3-4852-B0BE-05335C5C077D} = {43A78C57-C9A3-4852-B0BE-05335C5C077D}
{ED0F666A-C9E4-4B6C-AF89-BAFBB47C3730} = {ED0F666A-C9E4-4B6C-AF89-BAFBB47C3730}
{465EF178-91C1-4068-BE1D-F9616ECCB6DE} = {465EF178-91C1-4068-BE1D-F9616ECCB6DE} {465EF178-91C1-4068-BE1D-F9616ECCB6DE} = {465EF178-91C1-4068-BE1D-F9616ECCB6DE}
{4F10C17A-8AF7-4FAC-A4E2-087AE6E8F9D8} = {4F10C17A-8AF7-4FAC-A4E2-087AE6E8F9D8} {4F10C17A-8AF7-4FAC-A4E2-087AE6E8F9D8} = {4F10C17A-8AF7-4FAC-A4E2-087AE6E8F9D8}
{FA74D37C-8184-4596-BFE9-766C159045E1} = {FA74D37C-8184-4596-BFE9-766C159045E1} {FA74D37C-8184-4596-BFE9-766C159045E1} = {FA74D37C-8184-4596-BFE9-766C159045E1}

View File

@ -79,8 +79,10 @@ bool SuperEqDsp::Process(IBuffer* buffer) {
this->enabled = ::prefs && ::prefs->GetBool("enabled", false); this->enabled = ::prefs && ::prefs->GetBool("enabled", false);
this->lastUpdated = current; this->lastUpdated = current;
if (!this->supereq) {
this->supereq = new SuperEqState(); this->supereq = new SuperEqState();
equ_init(this->supereq, 10, channels); equ_init(this->supereq, 10, channels);
}
void *params = paramlist_alloc(); void *params = paramlist_alloc();
float bands[17]; float bands[17];