MediaPortalWrapper.InputStream.CustomChannelCountSorting C# (CSharp) Méthode

CustomChannelCountSorting() private static méthode

private static CustomChannelCountSorting ( InputstreamInfo i ) : uint
i MediaPortalWrapper.NativeWrappers.InputstreamInfo
Résultat uint
    private static uint CustomChannelCountSorting(InputstreamInfo i)
    {
      var channelCount = i.Channels;
      // Gives mono channels a higher number, so they are not preferred over stereo in ascending order.
      if (channelCount == 1)
        channelCount *= 10;
      return channelCount;
    }