Anonymous
-
2026-04-18
- assigned_to: GorangN
Originally created by: GorangN
Originally owned by: GorangN
Die AudioPlaybackConnection API erstellt bei Start() zwei virtuelle Audio-Endpoints in Windows:
Ziel: Den Mikrofon-Eintrag mit dem App-Icon ersetzen und den Phantom-Eintrag entfernen/verstecken.
Nach erfolgreichem ConnectBluetoothAudioAsync einmalig die Audio-Sessions des eigenen Prozesses enumerieren und anpassen:
IAudioSessionManager2 vom Audio-Endpoint holenGetSessionEnumerator() → alle Sessions des Prozesses durchgehenIAudioSessionControl:SetIconPath() → App-Icon setzen (z.B. Assets/Logo.ico als absoluter Pfad)SetDisplayName() → "Easy Bluetooth Audio" setzenSetGroupingParam() zusammenführen oder ausblendenAudioPlaybackConnection verweigernIAudioSessionManager2 (GUID: 77AA99A0-1BD6-484F-8BC7-2C654C9A9B6F)IAudioSessionEnumeratorIAudioSessionControl → SetIconPath(), SetDisplayName()IMMDeviceEnumerator + IMMDevice (bereits bekannt aus altem Peak Meter Code)| Datei | Änderung |
|---|---|
AudioService.cs |
Neue Methode ConfigureAudioSessionAppearance() + COM Interop |
IAudioService.cs |
Ggf. Interface erweitern |
Geparkt — als separater Branch umsetzen, Experiment ob Windows die Session-Anpassung erlaubt.