chore: basic readme

This commit is contained in:
newt 2024-11-17 13:03:21 +00:00
parent 1c181a70fd
commit 73fc5876ee
6 changed files with 12 additions and 12 deletions

2
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "vencord"]
path = vencord
path = integrations/discord/vencord
url = ssh://git@git.newty.dev:2222/newt/muter-vencord.git

View file

@ -17,7 +17,4 @@ features = [
"Win32_Media_Audio_Endpoints",
"Win32_System_Com",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_WindowsAndMessaging",
]

@ -0,0 +1 @@
Subproject commit dcd7407bc5a1b549b2784b1f61ca5c13d5c73fa7

View file

@ -1,2 +1,9 @@
todo:
- custom port
# muter
A Windows service that mirrors system mutes across communication platforms.
## Integrations
### Discord
- [Vencord](https://git.newty.dev/newt/muter-vencord)

View file

@ -2,16 +2,12 @@ use muter::ORDERING;
use std::{ptr, sync::atomic::AtomicBool};
use warp::Filter;
use windows::Win32::{
Foundation::{BOOL, HWND, LPARAM, WPARAM},
Foundation::{BOOL},
Media::Audio::{
eCapture, eMultimedia, Endpoints::IAudioEndpointVolume, IMMDevice, IMMDeviceEnumerator,
MMDeviceEnumerator,
},
System::Com::{CoCreateInstance, CoInitializeEx, CLSCTX_ALL, COINIT_MULTITHREADED},
UI::{
Input::KeyboardAndMouse::{MapVirtualKeyW, MAPVK_VK_TO_VSC, VIRTUAL_KEY},
WindowsAndMessaging::{EnumWindows, GetWindowTextW, PostMessageW, WM_KEYDOWN, WM_KEYUP},
},
};
mod ws;

@ -1 +0,0 @@
Subproject commit 6c6e2098364bc70659c57856375ba10ccb3888e7