From 5363f350887b1e5b5dd21a86f88c8af9d7fea6da Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:25 +0200 Subject: Merging upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- .../src/Windows/Phone/Media/Devices/mod.rs | 36 ---------------------- .../src/Windows/Phone/Media/mod.rs | 3 -- 2 files changed, 39 deletions(-) delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Phone/Media/Devices/mod.rs delete mode 100644 vendor/windows-sys-0.28.0/src/Windows/Phone/Media/mod.rs (limited to 'vendor/windows-sys-0.28.0/src/Windows/Phone/Media') diff --git a/vendor/windows-sys-0.28.0/src/Windows/Phone/Media/Devices/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Phone/Media/Devices/mod.rs deleted file mode 100644 index 78e7811b7..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Phone/Media/Devices/mod.rs +++ /dev/null @@ -1,36 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct AudioRoutingEndpoint(pub i32); -impl AudioRoutingEndpoint { - pub const Default: Self = Self(0i32); - pub const Earpiece: Self = Self(1i32); - pub const Speakerphone: Self = Self(2i32); - pub const Bluetooth: Self = Self(3i32); - pub const WiredHeadset: Self = Self(4i32); - pub const WiredHeadsetSpeakerOnly: Self = Self(5i32); - pub const BluetoothWithNoiseAndEchoCancellation: Self = Self(6i32); - pub const BluetoothPreferred: Self = Self(7i32); -} -impl ::core::marker::Copy for AudioRoutingEndpoint {} -impl ::core::clone::Clone for AudioRoutingEndpoint { - fn clone(&self) -> Self { - *self - } -} -pub type AudioRoutingManager = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct AvailableAudioRoutingEndpoints(pub u32); -impl AvailableAudioRoutingEndpoints { - pub const None: Self = Self(0u32); - pub const Earpiece: Self = Self(1u32); - pub const Speakerphone: Self = Self(2u32); - pub const Bluetooth: Self = Self(4u32); -} -impl ::core::marker::Copy for AvailableAudioRoutingEndpoints {} -impl ::core::clone::Clone for AvailableAudioRoutingEndpoints { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Phone/Media/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Phone/Media/mod.rs deleted file mode 100644 index b5f8e4853..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Phone/Media/mod.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Phone_Media_Devices")] -pub mod Devices; -- cgit v1.2.3