Changeset 90337 in vbox
- Timestamp:
- Jul 26, 2021 1:55:53 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145900
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r90203 r90337 3153 3153 /* Use the windows audio session (WAS) API rather than Direct Sound on windows 3154 3154 versions we've tested it on (currently W7+). Since Vista, Direct Sound has 3155 been emulated on top of WAS according to the docs, so better use WAS directly. */ 3155 been emulated on top of WAS according to the docs, so better use WAS directly. 3156 3157 Set extradata value "VBoxInternal2/Audio/WindowsDrv" "dsound" to no use WasAPI. */ 3156 3158 pszAudioDriver = "DSoundAudio"; 3157 if (RTSystemGetNtVersion() >= RTSYSTEM_MAKE_NT_VERSION(6,1,0)) 3159 GetExtraDataBoth(virtualBox, pMachine, "VBoxInternal2/Audio/WindowsDrv", &strTmp); H(); 3160 if ( RTSystemGetNtVersion() >= RTSYSTEM_MAKE_NT_VERSION(6,1,0) 3161 && ( strTmp.isEmpty() 3162 || strTmp.equalsIgnoreCase("was") 3163 || strTmp.equalsIgnoreCase("wasapi")) ) 3158 3164 pszAudioDriver = "HostAudioWas"; 3159 3165 break;
Note:
See TracChangeset
for help on using the changeset viewer.