]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
04454e1e | 2 | #[doc = "*Required features: `\"Media_Render\"`*"] |
5e7ed085 FG |
3 | #[repr(transparent)] |
4 | pub struct AudioRenderCategory(pub i32); | |
5 | impl AudioRenderCategory { | |
6 | pub const Other: Self = Self(0i32); | |
7 | pub const ForegroundOnlyMedia: Self = Self(1i32); | |
8 | pub const BackgroundCapableMedia: Self = Self(2i32); | |
9 | pub const Communications: Self = Self(3i32); | |
10 | pub const Alerts: Self = Self(4i32); | |
11 | pub const SoundEffects: Self = Self(5i32); | |
12 | pub const GameEffects: Self = Self(6i32); | |
13 | pub const GameMedia: Self = Self(7i32); | |
14 | pub const GameChat: Self = Self(8i32); | |
15 | pub const Speech: Self = Self(9i32); | |
16 | pub const Movie: Self = Self(10i32); | |
17 | pub const Media: Self = Self(11i32); | |
18 | } | |
19 | impl ::core::marker::Copy for AudioRenderCategory {} | |
20 | impl ::core::clone::Clone for AudioRenderCategory { | |
21 | fn clone(&self) -> Self { | |
22 | *self | |
23 | } | |
24 | } |