Improved: Updated to Visual Studio 2019 and Qt 5.15.2. Running Equalizer APO requires Universal CRT now, which means that Windows versions before 10 may need additional Windows updates or the Visual C++ Redistributable for Visual Studio 2015 - 2019 needs to be installed (installer provides assistance).

This commit is contained in:
jthedering committed 2021-06-08 19:04:18 +00:00
1 parent 3d51af7364
commit c692f0639b
94 files changed
+362 -184

No files matched your search

+2 -2
View File
@@ -27,8 +27,8 @@ class BiQuadFilter : public IFilter
{
public:
BiQuadFilter(BiQuad::Type type, double dbGain, double freq, double bandwidthOrQOrS, bool isBandwidthOrS, bool isCornerFreq);
virtual~BiQuadFilter();
bool getInPlace() override{return true;}
virtual ~BiQuadFilter();
bool getInPlace() override {return true;}
std::vector<std::wstring> initialize(float sampleRate, unsigned maxFrameCount, std::vector<std::wstring> channelNames) override;
void process(float** output, float** input, unsigned frameCount) override;
+1 -1
View File
@@ -79,7 +79,7 @@ bool DeviceFilterFactory::matchDevice(const std::wstring& deviceString, const st
{
wstring value = StringHelper::trim(pattern) + L";";
vector<vector<wstring> > fullList;
vector<vector<wstring>> fullList;
vector<wstring> currentList;
wstring currentWord;
@@ -20,7 +20,6 @@
#pragma once
#include <string>
#include <hash_map>
#include "IFilterFactory.h"
#include "IFilter.h"
@@ -26,7 +26,7 @@
template<typename type> struct to_WString_type_traits
{
static inline std::wstring cast_ToWString(type& input) {return std::wstring();}
static inline std::wstring cast_ToWString(const type& input) {return std::wstring();}
};
template<> struct to_WString_type_traits<float>
@@ -41,12 +41,12 @@ template<> struct to_WString_type_traits<double>
template<> struct to_WString_type_traits<int>
{
static inline std::wstring cast_ToWString(const int& input) {return std::to_wstring((_Longlong)input);}
static inline std::wstring cast_ToWString(const int& input) {return std::to_wstring((long long)input);}
};
template<> struct to_WString_type_traits<bool>
{
static inline std::wstring cast_ToWString(const bool& input) {return std::to_wstring((_Longlong)input);}
static inline std::wstring cast_ToWString(const bool& input) {return std::to_wstring((long long)input);}
};
template<> struct to_WString_type_traits<std::string>
@@ -99,7 +99,7 @@ template<> struct constructor_traits<std::wstring>
static inline std::wstring initFrom(std::wstring input) {return input;}
};
template<> struct constructor_traits<std::vector<char> >
template<> struct constructor_traits<std::vector<char>>
{
static inline std::wstring initFrom(std::vector<char> input)
{
@@ -49,7 +49,7 @@ HRESULT VolumeController::getVolume(float& currentVolume)
HRESULT VolumeController::setVolume(float volume)
{
volume = min(volume, _maxVol);
volume = max(volume, _minVol);
volume = fmin(volume, _maxVol);
volume = fmax(volume, _minVol);
return _endpointVolume->SetMasterVolumeLevel(volume, NULL);
}
}