From 611591be1da10b46dad25ae2adb680e6d1769147 Mon Sep 17 00:00:00 2001 From: McSchneidar <262792195+McSchneidar@users.noreply.github.com> Date: Fri, 16 Oct 2026 07:33:40 +0200 Subject: [PATCH] Fix overlapping EHeaderFlags values (#902) Instrumental (5) and Vocals (6) overlapped with Title|MP3 and Artist|MP3 in the [Flags] enum. A song file with #INSTRUMENTAL or #VOCALS therefore passed the mandatory-tag checks even when #TITLE, #ARTIST or #MP3 were missing, leaving Audio empty. Give each flag its own bit (Instrumental = 64, Vocals = 128). Co-authored-by: Florian Ostertag --- VocaluxeLib/Songs/CSong.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VocaluxeLib/Songs/CSong.cs b/VocaluxeLib/Songs/CSong.cs index 3ec56e6a..4258617e 100644 --- a/VocaluxeLib/Songs/CSong.cs +++ b/VocaluxeLib/Songs/CSong.cs @@ -44,11 +44,11 @@ namespace VocaluxeLib.Songs Title = 1, Artist = 2, MP3 = 4, - Instrumental = 5, - Vocals = 6, Bpm = 8, MedleyStartBeat = 16, - MedleyEndBeat = 32 + MedleyEndBeat = 32, + Instrumental = 64, + Vocals = 128 } public enum EDataSource