SampleFormat.cs 911 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. /// <summary>
  13. /// PCM8 sample format. (unsupported)
  14. /// </summary>
  15. PcmInt8 = 1,
  16. /// <summary>
  17. /// PCM16 sample format.
  18. /// </summary>
  19. PcmInt16 = 2,
  20. /// <summary>
  21. /// PCM24 sample format. (unsupported)
  22. /// </summary>
  23. PcmInt24 = 3,
  24. /// <summary>
  25. /// PCM32 sample format.
  26. /// </summary>
  27. PcmInt32 = 4,
  28. /// <summary>
  29. /// PCM Float sample format.
  30. /// </summary>
  31. PcmFloat = 5,
  32. /// <summary>
  33. /// ADPCM sample format. (Also known as GC-ADPCM)
  34. /// </summary>
  35. Adpcm = 6
  36. }
  37. }