]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Phone/Media/Devices/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Phone / Media / Devices / mod.rs
CommitLineData
04454e1e 1#[doc = "*Required features: `\"Phone_Media_Devices\"`*"]
5e7ed085
FG
2#[repr(transparent)]
3pub struct AudioRoutingEndpoint(pub i32);
4impl AudioRoutingEndpoint {
5 pub const Default: Self = Self(0i32);
6 pub const Earpiece: Self = Self(1i32);
7 pub const Speakerphone: Self = Self(2i32);
8 pub const Bluetooth: Self = Self(3i32);
9 pub const WiredHeadset: Self = Self(4i32);
10 pub const WiredHeadsetSpeakerOnly: Self = Self(5i32);
11 pub const BluetoothWithNoiseAndEchoCancellation: Self = Self(6i32);
12 pub const BluetoothPreferred: Self = Self(7i32);
13}
14impl ::core::marker::Copy for AudioRoutingEndpoint {}
15impl ::core::clone::Clone for AudioRoutingEndpoint {
16 fn clone(&self) -> Self {
17 *self
18 }
19}
20pub type AudioRoutingManager = *mut ::core::ffi::c_void;
04454e1e 21#[doc = "*Required features: `\"Phone_Media_Devices\"`*"]
5e7ed085
FG
22#[repr(transparent)]
23pub struct AvailableAudioRoutingEndpoints(pub u32);
24impl AvailableAudioRoutingEndpoints {
25 pub const None: Self = Self(0u32);
26 pub const Earpiece: Self = Self(1u32);
27 pub const Speakerphone: Self = Self(2u32);
28 pub const Bluetooth: Self = Self(4u32);
29}
30impl ::core::marker::Copy for AvailableAudioRoutingEndpoints {}
31impl ::core::clone::Clone for AvailableAudioRoutingEndpoints {
32 fn clone(&self) -> Self {
33 *self
34 }
35}