Comments (6)
It should not have been occurred if the config option was set to false.
But since it has been a while everybody had the chance to fix the automatic channel allocation.
I removed that option including the warning. If you don't see any meters, you need to call meterSource.resize(numChannels)
in your prepareToPlay or anywhere outside the audio thread.
from ff_meters.
I have the same warning messages on Microsoft Visual C++ 2019 with JUCE 6.0.7 and the latest version of the ff_meters module.
ff_meters\LookAndFeel\LevelMeterLookAndFeelMethods.h(245): warning C4702: unreachable code ff_meters\LookAndFeel\LevelMeterLookAndFeelMethods.h(102): warning C4702: unreachable code ff_meters\LookAndFeel\LevelMeterLookAndFeelMethods.h(191): warning C4702: unreachable code
Did you find a fix for this?
from ff_meters.
from ff_meters.
Ill keep looking for a way, its just annoying really
from ff_meters.
the same for me, struggling on how to suppress these warnings
from ff_meters.
@ffAudio Sorry but I still see this warnings:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\numeric(35,26): warning C4244: '=': conversion from 'double' to '_Ty', possible loss of data
1> with
1> [
1> _Ty=float
1> ] (compiling source file ....\JuceLibraryCode\include_ff_meters.cpp)
with
Looks like it's type cast issue:
if (rmsHistory.size() > 0) return std::sqrt(std::accumulate (rmsHistory.begin(), rmsHistory.end(), 0.0f)
rmsHistory - it's double but 0.0f it's float
Second this error also exists:
ff_meters\LookAndFeel\LevelMeterLookAndFeelMethods.h(245): warning C4702: unreachable code
from ff_meters.
Related Issues (13)
- std::sqrt no member named sqrtf HOT 3
- Exception on start in JUCE plugin host when previously saving the filtergraph with plugin open HOT 2
- Unable to build ff_meters with latest version of Juce HOT 6
- JuceHeader makes module non-working for non-JuceHeader based project!
- Unable to change color of the border around the meter (level) control...
- No meter bar activity... HOT 2
- Center offset and weird behavior of lower part of the waveform (OutlineBuffer) HOT 1
- Atomic Use For "suspended" HOT 2
- Race conditions in ChannelData HOT 1
- Performance issue on Mac mini M1 but not on Windows10/11
- SingleChannel & Minimal HOT 3
- Does not compile on MSVC HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ff_meters.