Index: /trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp	(revision 76985)
+++ /trunk/src/VBox/Devices/Audio/DrvAudioCommon.cpp	(revision 76986)
@@ -1245,5 +1245,11 @@
     AssertPtrReturn(pProps, 0);
 
+    if (!pProps->uHz) /* Prevent division by zero. */
+        return 0;
+
     const unsigned cbFrame = PDMAUDIOPCMPROPS_F2B(pProps, 1 /* Frame */);
+
+    if (!cbFrame) /* Prevent division by zero. */
+        return 0;
 
     uint64_t uTimeMs = ((cbBytes + cbFrame - 1) / cbFrame) * RT_MS_1SEC;
@@ -1265,5 +1271,11 @@
     AssertPtrReturn(pProps, 0);
 
+    if (!pProps->uHz) /* Prevent division by zero. */
+        return 0;
+
     const unsigned cbFrame = PDMAUDIOPCMPROPS_F2B(pProps, 1 /* Frame */);
+
+    if (!cbFrame) /* Prevent division by zero. */
+        return 0;
 
     uint64_t uTimeUs = ((cbBytes + cbFrame - 1) / cbFrame) * RT_US_1SEC;
@@ -1285,5 +1297,11 @@
     AssertPtrReturn(pProps, 0);
 
+    if (!pProps->uHz) /* Prevent division by zero. */
+        return 0;
+
     const unsigned cbFrame = PDMAUDIOPCMPROPS_F2B(pProps, 1 /* Frame */);
+
+    if (!cbFrame) /* Prevent division by zero. */
+        return 0;
 
     uint64_t uTimeNs = ((cbBytes + cbFrame - 1) / cbFrame) * RT_NS_1SEC;
