Finally removed the Control class, the same stuff can be done in the AudioProcessor subclass...The Control source files are still in the repo in case they need to be looked at, but will eventually remove those too.
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
|
||||
#ifdef USEPSCONTROL
|
||||
Control::Control(AudioFormatManager* afm) : m_afm(afm), m_bufferingthread("stretchbufferingthread")
|
||||
{
|
||||
m_stretch_source = std::make_unique<StretchAudioSource>(2,m_afm);
|
||||
@ -619,3 +619,4 @@ void Control::update_process_parameters()
|
||||
//if (player)
|
||||
// player->set_process_parameters(&ppar,&bbpar);
|
||||
};
|
||||
#endif
|
||||
|
@ -54,7 +54,7 @@ public:
|
||||
bool clipFloatOutput = true;
|
||||
std::function<void(RenderInfoRef)> completion_callback;
|
||||
};
|
||||
|
||||
#ifdef USEPSCONTROL
|
||||
class Control
|
||||
{
|
||||
public:
|
||||
@ -149,3 +149,4 @@ private:
|
||||
double m_last_in_pos = 0.0;
|
||||
std::vector<int> m_bufamounts{ 4096,8192,16384,32768,65536,262144 };
|
||||
};
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user