CefChannelLayout.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. //
  2. // This file manually written from cef/include/internal/cef_types.h.
  3. // C API name: cef_channel_layout_t.
  4. //
  5. namespace Xilium.CefGlue
  6. {
  7. /// <summary>
  8. /// Enumerates the various representations of the ordering of audio channels.
  9. /// </summary>
  10. public enum CefChannelLayout
  11. {
  12. None = 0,
  13. Unsupported = 1,
  14. /// <summary>
  15. /// Front C
  16. /// </summary>
  17. Mono = 2,
  18. /// <summary>
  19. /// Front L, Front R
  20. /// </summary>
  21. Stereo = 3,
  22. /// <summary>
  23. /// Front L, Front R, Back C
  24. /// </summary>
  25. Layout_2_1 = 4,
  26. /// <summary>
  27. /// Front L, Front R, Front C
  28. /// </summary>
  29. Surround = 5,
  30. /// <summary>
  31. /// Front L, Front R, Front C, Back C
  32. /// </summary>
  33. Layout_4_0 = 6,
  34. /// <summary>
  35. /// Front L, Front R, Side L, Side R
  36. /// </summary>
  37. Layout_2_2 = 7,
  38. /// <summary>
  39. /// Front L, Front R, Back L, Back R
  40. /// </summary>
  41. Quad = 8,
  42. /// <summary>
  43. /// Front L, Front R, Front C, Side L, Side R
  44. /// </summary>
  45. Layout_5_0 = 9,
  46. /// <summary>
  47. /// Front L, Front R, Front C, LFE, Side L, Side R
  48. /// </summary>
  49. Layout_5_1 = 10,
  50. /// <summary>
  51. /// Front L, Front R, Front C, Back L, Back R
  52. /// </summary>
  53. Layout_5_0_Back = 11,
  54. /// <summary>
  55. /// Front L, Front R, Front C, LFE, Back L, Back R
  56. /// </summary>
  57. Layout_5_1_Back = 12,
  58. /// <summary>
  59. /// Front L, Front R, Front C, Side L, Side R, Back L, Back R
  60. /// </summary>
  61. Layout_7_0 = 13,
  62. /// <summary>
  63. /// Front L, Front R, Front C, LFE, Side L, Side R, Back L, Back R
  64. /// </summary>
  65. Layout_7_1 = 14,
  66. /// <summary>
  67. /// Front L, Front R, Front C, LFE, Side L, Side R, Front LofC, Front RofC
  68. /// </summary>
  69. Layout_7_1_Wide = 15,
  70. /// <summary>
  71. /// Stereo L, Stereo R
  72. /// </summary>
  73. Layout_Stereo_Downmix = 16,
  74. /// <summary>
  75. /// Stereo L, Stereo R, LFE
  76. /// </summary>
  77. Layout_2Point1 = 17,
  78. /// <summary>
  79. /// Stereo L, Stereo R, Front C, LFE
  80. /// </summary>
  81. Layout_3_1 = 18,
  82. /// <summary>
  83. /// Stereo L, Stereo R, Front C, Rear C, LFE
  84. /// </summary>
  85. Layout_4_1 = 19,
  86. /// <summary>
  87. /// Stereo L, Stereo R, Front C, Side L, Side R, Back C
  88. /// </summary>
  89. Layout_6_0 = 20,
  90. /// <summary>
  91. /// Stereo L, Stereo R, Side L, Side R, Front LofC, Front RofC
  92. /// </summary>
  93. Layout_6_0_Front = 21,
  94. /// <summary>
  95. /// Stereo L, Stereo R, Front C, Rear L, Rear R, Rear C
  96. /// </summary>
  97. Layout_Hexagonal = 22,
  98. /// <summary>
  99. /// Stereo L, Stereo R, Front C, LFE, Side L, Side R, Rear Center
  100. /// </summary>
  101. Layout_6_1 = 23,
  102. /// <summary>
  103. /// Stereo L, Stereo R, Front C, LFE, Back L, Back R, Rear Center
  104. /// </summary>
  105. Layout_6_1_Back = 24,
  106. /// <summary>
  107. /// Stereo L, Stereo R, Side L, Side R, Front LofC, Front RofC, LFE
  108. /// </summary>
  109. Layout_6_1_Front = 25,
  110. /// <summary>
  111. /// Front L, Front R, Front C, Side L, Side R, Front LofC, Front RofC
  112. /// </summary>
  113. Layout_7_0_Front = 26,
  114. /// <summary>
  115. /// Front L, Front R, Front C, LFE, Back L, Back R, Front LofC, Front RofC
  116. /// </summary>
  117. Layout_7_1_Wide_Back = 27,
  118. /// <summary>
  119. /// Front L, Front R, Front C, Side L, Side R, Rear L, Back R, Back C.
  120. /// </summary>
  121. Layout_Octagonal = 28,
  122. /// <summary>
  123. /// Channels are not explicitly mapped to speakers.
  124. /// </summary>
  125. Discrete = 29,
  126. /// <summary>
  127. /// Front L, Front R, Front C. Front C contains the keyboard mic audio. This
  128. /// layout is only intended for input for WebRTC. The Front C channel
  129. /// is stripped away in the WebRTC audio input pipeline and never seen outside
  130. /// of that.
  131. /// </summary>
  132. StereoAndKeyboardMic = 30,
  133. /// <summary>
  134. /// Front L, Front R, Side L, Side R, LFE
  135. /// </summary>
  136. Layout_4_1_Quad_Side = 31,
  137. /// <summary>
  138. /// Actual channel layout is specified in the bitstream and the actual channel
  139. /// count is unknown at Chromium media pipeline level (useful for audio
  140. /// pass-through mode).
  141. /// </summary>
  142. Bitstream = 32,
  143. // Max value, must always equal the largest entry ever logged.
  144. //CEF_CHANNEL_LAYOUT_MAX = CEF_CHANNEL_LAYOUT_BITSTREAM
  145. }
  146. }