BitBucket SourceCode Sharing / Master Volume


#1

Hi,
I’m new to Juce and C++ and Bitbucket. I wanted to see if I could successfully share my source code: https://bitbucket.org/xuuki/grid/src/cf538f11d6c15de7e276c57b63e8d40831148166?at=master

I need to get user input from the FilePlayerGUI class (this will be a master vol). Then I’m trying to direct those values to the Audio class where the samples are processed.

How can I do this

?


#2

Can you simply restructure your code so that a reference to your Audio class is available in your FilePlayerGUI class, perhaps by passing it via a parameter in the constructor? It looks like you’ve done this in other places, so I may be missing an important detail…

Once you have things hooked up it might be useful to watch a couple of Timur’s talks


which will make you aware of some of the dangers involved with interacting with the audio thread.