add live select pannel

This commit is contained in:
CroakFang
2023-01-20 07:13:54 +08:00
parent 3b18268252
commit a4dc2516e3
1543 changed files with 107369 additions and 9227 deletions
@@ -0,0 +1,21 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct AthHeader {
public uint ATH {
get { return _ath; }
set { _ath = value; }
}
public ushort Type {
get { return _type; }
set { _type = value; }
}
private uint _ath;
private ushort _type;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: e1bf30dfad5bee047832455bf63b7211
timeCreated: 1531897076
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct CipherHeader {
public uint CIPH {
get { return _ciph; }
set { _ciph = value; }
}
public ushort Type {
get { return _type; }
set { _type = value; }
}
private uint _ciph;
private ushort _type;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 228cab927670653418697c98965c350d
timeCreated: 1531897074
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
public struct CommentHeader {
public uint COMM {
get { return _comm; }
set { _comm = value; }
}
public byte Length {
get { return _length; }
set { _length = value; }
}
private uint _comm;
private byte _length;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 205a93edd24ca4948aaccc59a9225c38
timeCreated: 1531897074
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,81 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct CompressHeader {
public uint COMP {
get { return _comp; }
set { _comp = value; }
}
public ushort BlockSize {
get { return _blockSize; }
set { _blockSize = value; }
}
public byte R01 {
get { return _r01; }
set { _r01 = value; }
}
public byte R02 {
get { return _r02; }
set { _r02 = value; }
}
public byte R03 {
get { return _r03; }
set { _r03 = value; }
}
public byte R04 {
get { return _r04; }
set { _r04 = value; }
}
public byte R05 {
get { return _r05; }
set { _r05 = value; }
}
public byte R06 {
get { return _r06; }
set { _r06 = value; }
}
public byte R07 {
get { return _r07; }
set { _r07 = value; }
}
public byte R08 {
get { return _r08; }
set { _r08 = value; }
}
public byte Reserved1 {
get { return _rs1; }
set { _rs1 = value; }
}
public byte Reserved2 {
get { return _rs2; }
set { _rs2 = value; }
}
private uint _comp;
private ushort _blockSize;
private byte _r01;
private byte _r02;
private byte _r03;
private byte _r04;
private byte _r05;
private byte _r06;
private byte _r07;
private byte _r08;
private byte _rs1;
private byte _rs2;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 75f27239b6e77d4428f9c662dd9beb7d
timeCreated: 1531897075
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,62 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct DecodeHeader {
public uint DEC {
get { return _dec; }
set { _dec = value; }
}
public ushort BlockSize {
get { return _blockSize; }
set { _blockSize = value; }
}
public byte R01 {
get { return _r01; }
set { _r01 = value; }
}
public byte R02 {
get { return _r02; }
set { _r02 = value; }
}
public byte Count1 {
get { return _count1; }
set { _count1 = value; }
}
public byte Count2 {
get { return _count2; }
set { _count2 = value; }
}
public byte R03 {
get { return (byte)(_tmpField1 & 0x0f); }
set { _tmpField1 = (byte)((_tmpField1 & 0xf0) | (value & 0x0f)); }
}
public byte R04 {
get { return (byte)((_tmpField1 & 0xf0) >> 4); }
set { _tmpField1 = (byte)((_tmpField1 & 0x0f) | ((value & 0x0f) << 4)); }
}
public bool EnableCount2 {
get { return _enableCount2 != 0; }
set { _enableCount2 = (byte)(value ? 1 : 0); }
}
private uint _dec;
private ushort _blockSize;
private byte _r01;
private byte _r02;
private byte _count1;
private byte _count2;
private byte _tmpField1;
private byte _enableCount2;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: ac6ab3a083a9dab4c89d11c19ba8007a
timeCreated: 1531897075
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,44 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct FormatHeader {
public uint FMT {
get { return _fmt; }
set { _fmt = value; }
}
public uint Channels {
get { return _tempField1 & 0x000000ff; }
set { _tempField1 = (_tempField1 & 0xffffff00) | (value & 0x000000ff); }
}
public uint SamplingRate {
get { return (_tempField1 & 0xffffff00) >> 8; }
set { _tempField1 = (_tempField1 & 0x000000ff) | ((value & 0x00ffffff) << 8); }
}
public uint Blocks {
get { return _blocks; }
set { _blocks = value; }
}
public ushort R01 {
get { return _r01; }
set { _r01 = value; }
}
public ushort R02 {
get { return _r02; }
set { _r02 = value; }
}
private uint _fmt;
private uint _tempField1;
private uint _blocks;
private ushort _r01;
private ushort _r02;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: f1f5e07ab09e79c4cb4a047e3ca4dcaf
timeCreated: 1531897076
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,26 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct HcaHeader {
public uint HCA {
get { return _hca; }
set { _hca = value; }
}
public ushort Version {
get { return _version; }
set { _version = value; }
}
public ushort DataOffset {
get { return _dataOffset; }
set { _dataOffset = value; }
}
private uint _hca;
private ushort _version;
private ushort _dataOffset;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 62f9c36a9b0321e499be72ff6f689539
timeCreated: 1531897075
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,39 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct LoopHeader {
public uint LOOP {
get { return _loop; }
set { _loop = value; }
}
public uint LoopStart {
get { return _loopStart; }
set { _loopStart = value; }
}
public uint LoopEnd {
get { return _loopEnd; }
set { _loopEnd = value; }
}
public ushort R01 {
get { return _r01; }
set { _r01 = value; }
}
public ushort R02 {
get { return _r02; }
set { _r02 = value; }
}
private uint _loop;
private uint _loopStart;
private uint _loopEnd;
private ushort _r01;
private ushort _r02;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: cc745eb7512bd714cabdb77c4a409299
timeCreated: 1531897075
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct RvaHeader {
public uint RVA {
get { return _rva; }
set { _rva = value; }
}
public float Volume {
get { return _volume; }
set { _volume = value; }
}
private uint _rva;
private float _volume;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 233557084787e4f428bf5c2f7afecca1
timeCreated: 1531897074
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,27 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct VbrHeader {
public uint VBR {
get { return _vbr; }
set { _vbr = value; }
}
public ushort R01 {
get { return _r01; }
set { _r01 = value; }
}
public ushort R02 {
get { return _r02; }
set { _r02 = value; }
}
private uint _vbr;
private ushort _r01;
private ushort _r02;
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 0a9ede55bf3a2eb428324f4be4bae426
timeCreated: 1531897074
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,20 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
public struct WaveDataSection {
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)]
public byte[] DATA;
public uint DataSize;
public static WaveDataSection CreateDefault() {
var v = default(WaveDataSection);
v.DataSize = 0;
HcaHelper.SetString(out v.DATA, "data");
return v;
}
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 5f4777db495b7a242bc90ef3f0d41570
timeCreated: 1531897075
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,22 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
public struct WaveNoteSection {
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)]
public byte[] NOTE;
public uint NoteSize;
public uint Name;
public static WaveNoteSection CreateDefault() {
var v = default(WaveNoteSection);
v.Name = 0;
v.NoteSize = 0;
HcaHelper.SetString(out v.NOTE, "note");
return v;
}
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: a70f2695872de014ab2f50396745b75c
timeCreated: 1531897075
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,43 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
public struct WaveRiffSection {
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)]
public byte[] RIFF;
public uint RiffSize;
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)]
public byte[] WAVE;
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)]
public byte[] FMT;
public uint FmtSize;
public ushort FmtType;
public ushort FmtChannels;
public uint FmtSamplingRate;
public uint FmtSamplesPerSec;
public ushort FmtSamplingSize;
public ushort FmtBitCount;
public static WaveRiffSection CreateDefault() {
var v = default(WaveRiffSection);
v.RiffSize = 0;
v.FmtSize = 0x10;
v.FmtType = 0;
v.FmtChannels = 0;
v.FmtSamplingRate = 0;
v.FmtSamplesPerSec = 0;
v.FmtSamplingSize = 0;
v.FmtBitCount = 0;
HcaHelper.SetString(out v.RIFF, "RIFF");
HcaHelper.SetString(out v.WAVE, "WAVE");
HcaHelper.SetString(out v.FMT, "fmt ");
return v;
}
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 070fb203876f0e84c86f57e3b1efa90c
timeCreated: 1531897074
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,50 @@
using System.Runtime.InteropServices;
namespace DereTore.Exchange.Audio.HCA.Native {
[StructLayout(LayoutKind.Sequential, Pack = 1, CharSet = CharSet.Ansi)]
public struct WaveSampleSection {
[MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 4)]
public byte[] SMPL;
public uint SmplSize;
public uint Manufacturer;
public uint Product;
public uint SamplePeriod;
public uint MidiUnityNote;
public uint MidiPitchFraction;
public uint SmpteFormat;
public uint SmpteOffset;
public uint SampleLoops;
public uint SamplerData;
public uint LoopIdentifier;
public uint LoopType;
public uint LoopStart;
public uint LoopEnd;
public uint LoopFraction;
public uint LoopPlayCount;
public static WaveSampleSection CreateDefault() {
var v = default(WaveSampleSection);
v.SmplSize = 0x3c;
v.Manufacturer = 0;
v.Product = 0;
v.SamplePeriod = 0;
v.MidiUnityNote = 0x3c;
v.MidiPitchFraction = 0;
v.SmpteFormat = 0;
v.SmpteOffset = 0;
v.SampleLoops = 1;
v.SamplerData = 0x18;
v.LoopIdentifier = 0;
v.LoopType = 0;
v.LoopStart = 0;
v.LoopEnd = 0;
v.LoopFraction = 0;
v.LoopPlayCount = 0;
HcaHelper.SetString(out v.SMPL, "smpl");
return v;
}
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 14f90a0d3ad3c1f4faf280de184a5a3c
timeCreated: 1531897074
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: