summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-10-13 17:36:09 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-10-13 17:36:19 +0200
commit758a817ea6a2c6044ac5553dea2ee1c6f10204be (patch)
tree4be98b1c9e06c48336f25667594dbac19780fd64
parent96ff5b4a6c00960122858ec793683812bf1337a7 (diff)
downloadtdemultimedia-758a817ea6a2c6044ac5553dea2ee1c6f10204be.tar.gz
tdemultimedia-758a817ea6a2c6044ac5553dea2ee1c6f10204be.zip
Prevent inlining of the StereoVolumeControlSSE_impl::calculateBlock method
This resolves FTBFS with GCC7 Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 81449b86f66be2100cb1fc5eada56df61abdc5b3)
-rw-r--r--noatun/library/noatunarts/StereoVolumeControl_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noatun/library/noatunarts/StereoVolumeControl_impl.cpp b/noatun/library/noatunarts/StereoVolumeControl_impl.cpp
index 44f7187f..88f33c8f 100644
--- a/noatun/library/noatunarts/StereoVolumeControl_impl.cpp
+++ b/noatun/library/noatunarts/StereoVolumeControl_impl.cpp
@@ -71,7 +71,7 @@ public:
void percent(float p) { mPercent=p; }
float percent() { return mPercent; }
- void calculateBlock(unsigned long samples)
+ void calculateBlock(unsigned long samples) __attribute__((noinline))
{
#ifdef HAVE_X86_SSE
float *left=inleft;