Index: /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
===================================================================
--- /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp	(revision 65020)
+++ /trunk/src/VBox/Devices/Audio/DevIchAc97.cpp	(revision 65021)
@@ -482,4 +482,5 @@
 static void               ichac97TimerMaybeStart(PAC97STATE pThis);
 static void               ichac97TimerMaybeStop(PAC97STATE pThis);
+static void               ichac97TimerMain(PAC97STATE pThis);
 static DECLCALLBACK(void) ichac97Timer(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser);
 #endif
@@ -2042,5 +2043,5 @@
 
     /* Start transfers. */
-    ichac97DoTransfers(pThis);
+    ichac97TimerMain(pThis);
 }
 
@@ -2068,13 +2069,11 @@
 
 /**
- * Main routine to perform the actual audio data transfers from the AC'97 streams
- * to the backend(s) and vice versa.
- *
+ * Main routine for the device timer.
+ *
+ * @returns IPRT status code.
  * @param   pThis               AC'97 state.
  */
-static void ichac97DoTransfers(PAC97STATE pThis)
-{
-    AssertPtrReturnVoid(pThis);
-
+static void ichac97TimerMain(PAC97STATE pThis)
+{
     STAM_PROFILE_START(&pThis->StatTimer, a);
 
@@ -2087,7 +2086,5 @@
     bool fKickTimer = false;
 
-    ichac97StreamUpdate(pThis, &pThis->StreamLineIn);
-    ichac97StreamUpdate(pThis, &pThis->StreamMicIn);
-    ichac97StreamUpdate(pThis, &pThis->StreamOut);
+    ichac97DoTransfers(pThis);
 
     /* Do we need to kick the timer again? */
@@ -2112,5 +2109,4 @@
     STAM_PROFILE_STOP(&pThis->StatTimer, a);
 }
-#endif /* !VBOX_WITH_AUDIO_AC97_CALLBACKS */
 
 /**
@@ -2129,5 +2125,21 @@
     AssertPtr(pThis);
 
-    ichac97DoTransfers(pThis);
+    ichac97TimerMain(pThis);
+}
+#endif /* !VBOX_WITH_AUDIO_AC97_CALLBACKS */
+
+/**
+ * Main routine to perform the actual audio data transfers from the AC'97 streams
+ * to the backend(s) and vice versa.
+ *
+ * @param   pThis               AC'97 state.
+ */
+static void ichac97DoTransfers(PAC97STATE pThis)
+{
+    AssertPtrReturnVoid(pThis);
+
+    ichac97StreamUpdate(pThis, &pThis->StreamLineIn);
+    ichac97StreamUpdate(pThis, &pThis->StreamMicIn);
+    ichac97StreamUpdate(pThis, &pThis->StreamOut);
 }
 
