Add logging for IAudioProcessor::process()

This is super verbose, but I'm sure it's going to be useful at some
point.
This commit is contained in:
Robbert van der Helm
2020-12-17 15:12:09 +01:00
parent 231a0293cb
commit 1ce12227fb
8 changed files with 140 additions and 20 deletions
+6 -1
View File
@@ -72,6 +72,11 @@ class YaAudioBusBuffers {
*/
Steinberg::Vst::AudioBusBuffers get();
/**
* Return the number of channels in `buffers`. Only used for debug logs.
*/
size_t num_channels() const;
/**
* Write these buffers and the silence flag back to an `AudioBusBuffers
* object provided by the host.
@@ -203,7 +208,6 @@ class YaProcessData {
// of the `output*` fields defined below it
}
private:
// These fields are input and context data read from the original
// `ProcessData` object
@@ -266,6 +270,7 @@ class YaProcessData {
*/
std::optional<Steinberg::Vst::ProcessContext> process_context;
private:
// These are the same fields as in `YaProcessDataResponse`. We'll generate
// these as part of creating `reconstructed_process_data`, and they will be
// moved into a response object during `move_outputs_to_response()`.