mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-02-02 10:02:36 +01:00
Change lookup device name for DS4 v2 audio device
This commit is contained in:
parent
5cd84ecb5a
commit
3d5909a0e4
@ -62,7 +62,7 @@ namespace DS4Windows.DS4Library
|
||||
endpointVolume = interfacePointer as IAudioEndpointVolume;
|
||||
endpointVolume.RegisterControlChangeNotify(this);
|
||||
}
|
||||
else if (deviceName.Contains("(Wireless Controller)"))
|
||||
else if (deviceName.Contains("Wireless Controller"))
|
||||
{
|
||||
object interfacePointer;
|
||||
Marshal.ThrowExceptionForHR(audioDevice.Activate(ref IID_IAudioEndpointVolume, ClsCtx.ALL, IntPtr.Zero, out interfacePointer));
|
||||
|
Loading…
x
Reference in New Issue
Block a user