{"id":1251,"date":"2021-04-23T13:09:42","date_gmt":"2021-04-23T11:09:42","guid":{"rendered":"https:\/\/www.web-workers.ch\/?p=1251"},"modified":"2021-05-19T14:02:53","modified_gmt":"2021-05-19T12:02:53","slug":"audio-out-of-sync-crackling-latency-on-virtual-windows-10-on-vmware-workstation","status":"publish","type":"post","link":"https:\/\/www.web-workers.ch\/index.php\/2021\/04\/23\/audio-out-of-sync-crackling-latency-on-virtual-windows-10-on-vmware-workstation\/","title":{"rendered":"Audio out of sync, crackling, latency on virtual Windows 10 on vmWare Workstation"},"content":{"rendered":"<p>I&#8217;m using Microsoft Teams and other audio related applications on a virtual Windows 10 machine running within vmWare Workstation player, also on Windows 10. I&#8217;m pretty sure those informations in this article also applies to other vmWare platforms as ESXi as well. I experienced different Audio issues within the virtual Windows 10 machine if i connect a headset to my physical machine. Some of them: Audio delay, crackling, noises and latency. Finally and after many tests, i found a way to bring this constellation to a stable behaviour.<\/p>\n<ul>\n<li>First, install the vmWare audio drivers<\/li>\n<li>Second, make sure the virtual system and the host system use the same audio settings (2-channel, 16bit, 48khz (DVD-quality)<\/li>\n<li>Thrid, modify your VMX file and add some tweaks<\/li>\n<\/ul>\n<h5>vmWare Audio Drivers<\/h5>\n<ol>\n<li><a href=\"https:\/\/my.vmware.com\/en\/web\/vmware\/downloads\/info\/slug\/datacenter_cloud_infrastructure\/vmware_tools\/11_x\" target=\"_blank\" rel=\"noopener\">Download the VMware Tools for Windows, 64-bit in-guest installer 11.2.5<\/a><\/li>\n<li>Extract the Installer .exe file from the downloaded .zip package and then extract the audio drivers from the .exe file (we extract to C:\\Extract in this example).\n<p>Execute the following command via cmd.exe:<br \/>\n&gt; VMware-tools-11.2.5-17337674-x86_64.exe \/A \/P C:\\Extract<\/li>\n<li>Browse to the Windows &#8220;device manager&#8221; on the guest operating system and update the drivers of your audio card.<br \/>\nDriver location: C:\\Extract\\VMware\\VMware Tools\\VMware\\Drivers\\audio\\Vista<\/li>\n<\/ol>\n<h5>Fix audio settings<\/h5>\n<ol>\n<li>Open &#8220;Control Panel&#8221; &#8211; &#8220;Sound&#8221; on the guest and the host machine.<\/li>\n<li>Make sure that you have set at &#8220;Speaker&#8221; &#8211; &#8220;Advanced&#8221; &#8211; &#8220;Default Format&#8221;: 16-bit, 48khz, DVD Quality<\/li>\n<li>Make sure the same setting is applied at &#8220;Microphone&#8221; &#8211; &#8220;Advanced&#8221; &#8211; &#8220;Default Format&#8221;: 16-bit, 48khz, DVD Quality<\/li>\n<li>Make sure the same settings has been applied on the host and the virtual Windows system<\/li>\n<\/ol>\n<h5>Modify VMX configuration file for virtual machine<\/h5>\n<ol>\n<li>Add following configuration to your VMX file:sound.enableAEC = &#8220;TRUE&#8221;<br \/>\nsound.virtualDev = &#8220;es1371&#8221;<br \/>\npciSound.playBuffer = &#8220;40&#8221;<br \/>\nsound.maxLength = &#8220;2048&#8221;<br \/>\nsound.smallBlockSize = &#8220;1024&#8221;<br \/>\nsound.highPriority = &#8220;TRUE&#8221;<br \/>\nsound.bufferTime = &#8220;20&#8221;<\/p>\n<p>Hint: Some people had to use sound.virtualDev = &#8220;hdaudio&#8221;. Try out what works best for you.<\/li>\n<\/ol>\n<p>With those settings i did not experience any issues anymore and the audio works smooth through the virtual machine. Have fun.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m using Microsoft Teams and other audio related applications on a virtual Windows 10 machine running within vmWare Workstation player, also on Windows 10. I&#8217;m pretty sure those informations in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1252,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[16,3],"tags":[135,137,18,136,134,28,58],"class_list":["post-1251","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-esxi","category-mswin","tag-audio","tag-drivers","tag-vmware","tag-vmware-tools","tag-vmware-workstation","tag-windows","tag-windows-10"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.web-workers.ch\/wp-content\/uploads\/2021\/04\/vmWare_audio.png?fit=800%2C543&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8sxjX-kb","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/1251","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/comments?post=1251"}],"version-history":[{"count":10,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/1251\/revisions"}],"predecessor-version":[{"id":1266,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/posts\/1251\/revisions\/1266"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/media\/1252"}],"wp:attachment":[{"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/media?parent=1251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/categories?post=1251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.web-workers.ch\/index.php\/wp-json\/wp\/v2\/tags?post=1251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}