MemoryPoolUserState.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. /// <summary>
  13. /// The memory pool is new. (client side only)
  14. /// </summary>
  15. New = 1,
  16. /// <summary>
  17. /// The user asked to detach the memory pool from the <see cref="Dsp.AudioProcessor"/>.
  18. /// </summary>
  19. RequestDetach = 2,
  20. /// <summary>
  21. /// The memory pool is detached from the <see cref="Dsp.AudioProcessor"/>.
  22. /// </summary>
  23. Detached = 3,
  24. /// <summary>
  25. /// The user asked to attach the memory pool to the <see cref="Dsp.AudioProcessor"/>.
  26. /// </summary>
  27. RequestAttach = 4,
  28. /// <summary>
  29. /// The memory pool is attached to the <see cref="Dsp.AudioProcessor"/>.
  30. /// </summary>
  31. Attached = 5,
  32. /// <summary>
  33. /// The memory pool is released. (client side only)
  34. /// </summary>
  35. Released = 6
  36. }
  37. }