/ src / Ryujinx.Audio / Renderer / Common / MemoryPoolUserState.cs
MemoryPoolUserState.cs
 1  namespace Ryujinx.Audio.Renderer.Common
 2  {
 3      /// <summary>
 4      /// Represents the state of a memory pool.
 5      /// </summary>
 6      public enum MemoryPoolUserState : uint
 7      {
 8          /// <summary>
 9          /// Invalid state.
10          /// </summary>
11          Invalid = 0,
12  
13          /// <summary>
14          /// The memory pool is new. (client side only)
15          /// </summary>
16          New = 1,
17  
18          /// <summary>
19          /// The user asked to detach the memory pool from the <see cref="Dsp.AudioProcessor"/>.
20          /// </summary>
21          RequestDetach = 2,
22  
23          /// <summary>
24          /// The memory pool is detached from the <see cref="Dsp.AudioProcessor"/>.
25          /// </summary>
26          Detached = 3,
27  
28          /// <summary>
29          /// The user asked to attach the memory pool to the <see cref="Dsp.AudioProcessor"/>.
30          /// </summary>
31          RequestAttach = 4,
32  
33          /// <summary>
34          /// The memory pool is attached to the <see cref="Dsp.AudioProcessor"/>.
35          /// </summary>
36          Attached = 5,
37  
38          /// <summary>
39          /// The memory pool is released. (client side only)
40          /// </summary>
41          Released = 6,
42      }
43  }