mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-21 15:09:18 +00:00
Reinstate Audio Level updating and sliders
This commit is contained in:
@@ -39,6 +39,22 @@ namespace qController
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateLevels(string cue_id, List<double> levels)
|
||||
{
|
||||
for (int i = 0; i < data.Count; i++)
|
||||
{
|
||||
for (int j = 0; j < data[i].cues.Count; j++)
|
||||
{
|
||||
if (data[i].cues[j].uniqueID == cue_id)
|
||||
{
|
||||
Console.WriteLine("Cue found and levels updated");
|
||||
data[i].cues[j].levels = levels;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void PrintStats()
|
||||
{
|
||||
foreach (var cueList in data)
|
||||
|
||||
Reference in New Issue
Block a user