1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
5 pub struct AudioRoutingEndpoint(pub i32);
6 impl AudioRoutingEndpoint
{
7 pub const Default
: Self = Self(0i32);
8 pub const Earpiece
: Self = Self(1i32);
9 pub const Speakerphone
: Self = Self(2i32);
10 pub const Bluetooth
: Self = Self(3i32);
11 pub const WiredHeadset
: Self = Self(4i32);
12 pub const WiredHeadsetSpeakerOnly
: Self = Self(5i32);
13 pub const BluetoothWithNoiseAndEchoCancellation
: Self = Self(6i32);
14 pub const BluetoothPreferred
: Self = Self(7i32);
16 impl ::core
::marker
::Copy
for AudioRoutingEndpoint {}
17 impl ::core
::clone
::Clone
for AudioRoutingEndpoint
{
18 fn clone(&self) -> Self {
22 pub type AudioRoutingManager
= *mut ::core
::ffi
::c_void
;
24 pub struct AvailableAudioRoutingEndpoints(pub u32);
25 impl AvailableAudioRoutingEndpoints
{
26 pub const None
: Self = Self(0u32);
27 pub const Earpiece
: Self = Self(1u32);
28 pub const Speakerphone
: Self = Self(2u32);
29 pub const Bluetooth
: Self = Self(4u32);
31 impl ::core
::marker
::Copy
for AvailableAudioRoutingEndpoints {}
32 impl ::core
::clone
::Clone
for AvailableAudioRoutingEndpoints
{
33 fn clone(&self) -> Self {