Skip to content

Commit

Permalink
Allow channel name override for StormAudio
Browse files Browse the repository at this point in the history
  • Loading branch information
VoidXH committed Feb 14, 2024
1 parent d174c20 commit bbc0695
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cavern.QuickEQ.Format/FilterSet/StormAudioFilterSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public StormAudioFilterSet(ReferenceChannel[] channels, int sampleRate) : base(c
/// <summary>
/// Get the short name of a channel written to the configuration file to select that channel for setup.
/// </summary>
protected override string GetLabel(int channel) => Channels[channel].reference switch {
protected override string GetLabel(int channel) => Channels[channel].name ?? Channels[channel].reference switch {
ReferenceChannel.FrontLeft => "LF",
ReferenceChannel.FrontRight => "RF",
ReferenceChannel.FrontCenter => "CF",
Expand Down

0 comments on commit bbc0695

Please sign in to comment.