- Timestamp:
- Jan 14, 2011 3:36:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/dsoundaudio.c
r35353 r35573 235 235 236 236 AUD_log (AUDIO_CAP, "Reason: %s\n", str); 237 #ifdef VBOX238 LogRel(("DSound: Reason: %s\n", str));239 #endif240 237 } 241 238 … … 718 715 ds->first_time ? &wpos : NULL 719 716 ); 717 if (hr == DSERR_BUFFERLOST) { 718 if (dsound_restore_out(dsb)) 719 return 0; 720 hr = IDirectSoundBuffer_GetCurrentPosition(dsb, &ppos, ds->first_time ? &wpos : NULL); 721 } 720 722 if (FAILED (hr)) { 721 723 dsound_logerr (hr, "Could not get playback buffer position\n");
Note:
See TracChangeset
for help on using the changeset viewer.