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