Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2017-07-29 17:17:55 +0300
committerKacper Michajłow <kasper93@gmail.com>2017-07-29 21:17:47 +0300
commit2e7cafd0b95d361150bc2e16c969ed44233014a8 (patch)
treebf683510522d3a6c836f82ec9276338b0ce32cdf
parent42b596dee8980f0a95c8a4b2803478c9895adfe0 (diff)
Update saner to latest version.
Also fix property page not shown on filter info page.
-rw-r--r--.gitmodules2
-rw-r--r--src/mpc-hc/AppSettings.cpp6
-rw-r--r--src/mpc-hc/PPageAudioRenderer.cpp6
m---------src/thirdparty/sanear/sanear0
4 files changed, 6 insertions, 8 deletions
diff --git a/.gitmodules b/.gitmodules
index e344b3a55..9bea0bfd3 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -21,7 +21,7 @@
url = https://github.com/mpc-hc/rarfilesource.git
[submodule "sanear"]
path = src/thirdparty/sanear/sanear
- url = https://github.com/alexmarsev/sanear.git
+ url = https://github.com/mpc-hc/sanear.git
branch = core
[submodule "soundtouch"]
path = src/thirdparty/SoundTouch/soundtouch
diff --git a/src/mpc-hc/AppSettings.cpp b/src/mpc-hc/AppSettings.cpp
index 8b69ea6cf..9fedd4332 100644
--- a/src/mpc-hc/AppSettings.cpp
+++ b/src/mpc-hc/AppSettings.cpp
@@ -1076,12 +1076,10 @@ void CAppSettings::SaveSettings()
pApp->WriteProfileInt(IDS_R_SANEAR, IDS_RS_SANEAR_DEVICE_BUFFER, uBufferDuration);
}
- BOOL bAllowBitstreaming;
- sanear->GetAllowBitstreaming(&bAllowBitstreaming);
+ BOOL bAllowBitstreaming = sanear->GetAllowBitstreaming();
pApp->WriteProfileInt(IDS_R_SANEAR, IDS_RS_SANEAR_ALLOW_BITSTREAMING, bAllowBitstreaming);
- BOOL bCrossfeedEnabled;
- sanear->GetCrossfeedEnabled(&bCrossfeedEnabled);
+ BOOL bCrossfeedEnabled = sanear->GetCrossfeedEnabled();
pApp->WriteProfileInt(IDS_R_SANEAR, IDS_RS_SANEAR_CROSSFEED_ENABLED, bCrossfeedEnabled);
UINT32 uCutoffFrequency, uCrossfeedLevel;
diff --git a/src/mpc-hc/PPageAudioRenderer.cpp b/src/mpc-hc/PPageAudioRenderer.cpp
index 7c7e33b0b..a628231c9 100644
--- a/src/mpc-hc/PPageAudioRenderer.cpp
+++ b/src/mpc-hc/PPageAudioRenderer.cpp
@@ -1,5 +1,5 @@
/*
- * (C) 2015-2016 see Authors.txt
+ * (C) 2015-2017 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -137,8 +137,8 @@ BOOL CPPageAudioRenderer::OnInitDialog()
}
}
- s.sanear->GetAllowBitstreaming(&m_bAllowBitstreaming);
- s.sanear->GetCrossfeedEnabled(&m_bCrossfeedEnabled);
+ m_bAllowBitstreaming = s.sanear->GetAllowBitstreaming();
+ m_bCrossfeedEnabled = s.sanear->GetCrossfeedEnabled();
m_slider1.SetRangeMin(SaneAudioRenderer::ISettings::CROSSFEED_CUTOFF_FREQ_MIN);
m_slider1.SetRangeMax(SaneAudioRenderer::ISettings::CROSSFEED_CUTOFF_FREQ_MAX);
diff --git a/src/thirdparty/sanear/sanear b/src/thirdparty/sanear/sanear
-Subproject ad2c04ea9c7945f797b346365e09cdab6925fcd
+Subproject 23dc44ced5382b19781a1bdf131bc2e8678aeb8