Changeset 20096 in vbox for trunk/src/VBox/Devices
- Timestamp:
- May 27, 2009 3:36:30 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 47844
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/audio.c
r19507 r20096 1611 1611 } 1612 1612 1613 static void audio_timer_helper (PPDMDRVINS pDrvIns, PTMTIMER pTimer)1614 { 1615 AudioState *s = &glob_audio_state;1613 static DECLCALLBACK(void) audio_timer_helper (PPDMDRVINS pDrvIns, PTMTIMER pTimer, void *pvUser) 1614 { 1615 AudioState *s = (AudioState *)pvUser; 1616 1616 audio_timer (s); 1617 1617 } … … 1628 1628 LIST_INIT (&s->cap_head); 1629 1629 1630 rc = PDMDrvHlpTMTimerCreate (pDrvIns, TMCLOCK_VIRTUAL, 1631 audio_timer_helper, "Audio timer", &s->ts);1630 rc = PDMDrvHlpTMTimerCreate (pDrvIns, TMCLOCK_VIRTUAL, audio_timer_helper, 1631 &glob_audio_state, 0, "Audio timer", &s->ts); 1632 1632 if (RT_FAILURE (rc)) 1633 1633 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.