mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-16 15:41:11 +02:00
Realtime preview round 2
This changes the realtime preview from using 1 effect for all tracks to an effect per track (logical track). This should clear up the bad audio when more than one track (or a stereo track) is present. An unfortunate side effect is that meter effects no longer work since the one presented to the user is not the one doing the actual work. Suggestions on how to remedy this are welcome.
This commit is contained in:
@@ -122,11 +122,12 @@ public:
|
||||
virtual bool ProcessFinalize() = 0;
|
||||
virtual sampleCount ProcessBlock(float **inbuf, float **outbuf, sampleCount size) = 0;
|
||||
|
||||
virtual bool RealtimeInitialize(int numChannels, float sampleRate) = 0;
|
||||
virtual bool RealtimeInitialize() = 0;
|
||||
virtual bool RealtimeAddProcessor(int numChannels, float sampleRate) = 0;
|
||||
virtual bool RealtimeFinalize() = 0;
|
||||
virtual bool RealtimeSuspend() = 0;
|
||||
virtual bool RealtimeResume() = 0;
|
||||
virtual sampleCount RealtimeProcess(float **inbuf, float **outbuf, sampleCount size) = 0;
|
||||
virtual sampleCount RealtimeProcess(int index, float **inbuf, float **outbuf, sampleCount size) = 0;
|
||||
|
||||
virtual bool ShowInterface(void *parent) = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user