From 8ea88d7a49b9926762daeb2e89124331fc304a16 Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 18 Oct 2021 21:52:40 +0200 Subject: [PATCH] Implementing more CRecord stuff Needed for equalizers in the VocaluxeLib namespace. --- Vocaluxe/Base/CMain.cs | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Vocaluxe/Base/CMain.cs b/Vocaluxe/Base/CMain.cs index 89824b8b..9ab1d835 100644 --- a/Vocaluxe/Base/CMain.cs +++ b/Vocaluxe/Base/CMain.cs @@ -686,6 +686,31 @@ namespace Vocaluxe.Base { return CRecord.GetToneAbs(player); } + + public void AnalyzeBuffer(int player) + { + CRecord.AnalyzeBuffer(player); + } + + public bool Start() + { + return CRecord.Start(); + } + + public bool Stop() + { + return CRecord.Stop(); + } + + public float GetMaxVolume(int player) + { + return CRecord.GetMaxVolume(player); + } + + public float[] ToneWeigth(int player) + { + return CRecord.ToneWeigth(player); + } } class CBsongs : ISongs