/ src / Ryujinx.Audio / Common / SampleFormat.cs
SampleFormat.cs
 1  namespace Ryujinx.Audio.Common
 2  {
 3      /// <summary>
 4      /// Sample format definition.
 5      /// </summary>
 6      public enum SampleFormat : byte
 7      {
 8          /// <summary>
 9          /// Invalid sample format.
10          /// </summary>
11          Invalid = 0,
12  
13          /// <summary>
14          /// PCM8 sample format. (unsupported)
15          /// </summary>
16          PcmInt8 = 1,
17  
18          /// <summary>
19          /// PCM16 sample format.
20          /// </summary>
21          PcmInt16 = 2,
22  
23          /// <summary>
24          /// PCM24 sample format. (unsupported)
25          /// </summary>
26          PcmInt24 = 3,
27  
28          /// <summary>
29          /// PCM32 sample format.
30          /// </summary>
31          PcmInt32 = 4,
32  
33          /// <summary>
34          /// PCM Float sample format.
35          /// </summary>
36          PcmFloat = 5,
37  
38          /// <summary>
39          /// ADPCM sample format. (Also known as GC-ADPCM)
40          /// </summary>
41          Adpcm = 6,
42      }
43  }