Changeset 53394 in vbox for trunk/src/VBox
- Timestamp:
- Nov 25, 2014 11:22:01 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/dsoundaudio.c
r53393 r53394 108 108 LPDIRECTSOUNDBUFFER dsound_primary_buffer; 109 109 audsettings_t settings; 110 LPCGUID devguidp;111 110 LPCGUID devguidp_capture; 112 111 } dsound; … … 472 471 hr = IDirectSoundCapture_Initialize (s->dsound_capture, s->devguidp_capture); 473 472 if (FAILED (hr)) { 474 DSLOGREL(("DSound: DirectSoundCapture initialize %Rhrc\n", hr)); 473 if (hr == DSERR_NODRIVER) { 474 DSLOGREL(("DSound: DirectSoundCapture not available\n")); 475 } 476 else { 477 DSLOGREL(("DSound: DirectSoundCapture initialize %Rhrc\n", hr)); 478 } 475 479 dsoundCaptureInterfaceRelease (s); 476 480 } … … 1299 1303 LogRel(("DSound: Could not parse DirectSound input device GUID\n")); 1300 1304 } 1301 s->devguidp = (LPCGUID)&devguid;1305 s->devguidp_capture = (LPCGUID)&devguid; 1302 1306 } else { 1303 s->devguidp = NULL;1307 s->devguidp_capture = NULL; 1304 1308 } 1305 1309
Note:
See TracChangeset
for help on using the changeset viewer.