mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-16 21:14:43 +08:00
AWC audio name hash resolution and sorting
This commit is contained in:
+4
-1
@@ -7,6 +7,7 @@ using System.IO;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
|
||||
namespace CodeWalker.Forms
|
||||
{
|
||||
@@ -114,7 +115,9 @@ namespace CodeWalker.Forms
|
||||
float totalLength = 0;
|
||||
if (awc.Streams != null)
|
||||
{
|
||||
foreach (var audio in awc.Streams)
|
||||
var strlist = awc.Streams.ToList();
|
||||
strlist.Sort((a, b) => a.Name.CompareTo(b.Name));
|
||||
foreach (var audio in strlist)
|
||||
{
|
||||
if (audio.StreamBlocks != null) continue;//don't display multichannel source audios
|
||||
var item = PlayListView.Items.Add(audio.Name);
|
||||
|
||||
Reference in New Issue
Block a user