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: specification/section-5.md
+8-14Lines changed: 8 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -780,7 +780,7 @@ The `shdr` sub-chunk is required; files without a `shdr` sub-chunk are Structura
780
780
781
781
The value of achSampleName is now UTF-8 instead of ASCII.
782
782
783
-
#### sfSampleType Changes (since 4.0.16)
783
+
#### sfSampleType Changes (since 4.0.28)
784
784
785
785
In legacy SF2.04, `sfSampleType` is treated as an enum, with eight fixed values. This worked fine when there were only a few possible bits, however it could become a limitation for future expansion.
786
786
@@ -792,16 +792,12 @@ Therefore, the specification for `sfSampleType` discourages the use of fixed enu
792
792
- If bit 4 is set, a sample is a linked sample.
793
793
- If bit 5 is set, a sample is compressed using SFe Compression.
794
794
- Read section 6.2 for more information on SFe Compression.
795
-
- If bit 6 is clear and bit 7 clear, all samples are in ogg format.
796
-
- If bit 6 is set and bit 7 clear, all samples are in flac format.
797
-
- If bit 6 is clear and bit 7 set, all samples are in opus format.
798
-
- If bit 6 is set and bit 7 set, all samples are in containerised wav format.
799
795
- If bit 16 is set, a sample is stored in ROM.
800
796
- Read section 9 for more information on ROM samples.
801
797
802
798
Note that all unused bits are reserved and should not be used by SFe implementations.
803
799
804
-
### List of valid sfSampleType values (since 4.0.26)
800
+
### List of valid sfSampleType values (since 4.0.28)
0 commit comments