You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Fmod5Sharp/FmodTypes/FmodSampleMetadata.cs
+27-33Lines changed: 27 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -4,42 +4,36 @@
4
4
5
5
namespaceFmod5Sharp.FmodTypes
6
6
{
7
-
//Can be verified against "FMOD::CodecFSB5::decodeSubSoundHeader" in fmod.dll
8
7
publicclassFmodSampleMetadata:IBinaryReadable
9
-
{
10
-
internalboolHasAnyChunks;
11
-
internaluintFrequencyId;
12
-
internalulongDataOffset;
13
-
internalList<FmodSampleChunk>Chunks=new();
14
-
internalintNumChannels;
8
+
{
9
+
internalboolHasAnyChunks;
10
+
internaluintFrequencyId;
11
+
internalulongDataOffset;
12
+
internalList<FmodSampleChunk>Chunks=new();
13
+
internalintNumChannels;
14
+
publiculongSampleCount;
15
15
16
-
publicboolIsStereo;
17
-
publiculongSampleCount;
16
+
publicintFrequency=>FsbLoader.Frequencies.TryGetValue(FrequencyId,outvaractualFrequency)?actualFrequency:(int)FrequencyId;//If set by FREQUENCY chunk, id is actual frequency
17
+
publicuintChannels=>(uint)NumChannels;
18
18
19
-
publicintFrequency=>FsbLoader.Frequencies.TryGetValue(FrequencyId,outvaractualFrequency)?actualFrequency:(int)FrequencyId;//If set by FREQUENCY chunk, id is actual frequency
0 commit comments