Changeset 70865 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Feb 5, 2018 1:19:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r70864 r70865 637 637 return E_INVALIDARG; 638 638 639 DSLOG(("DSound: Requested playback format:\n" 640 " wFormatTag = %RI16\n" 641 " nChannels = %RI16\n" 642 " nSamplesPerSec = %RU32\n" 643 " nAvgBytesPerSec = %RU32\n" 644 " nBlockAlign = %RI16\n" 645 " wBitsPerSample = %RI16\n" 646 " cbSize = %RI16\n", 647 wfx.wFormatTag, 648 wfx.nChannels, 649 wfx.nSamplesPerSec, 650 wfx.nAvgBytesPerSec, 651 wfx.nBlockAlign, 652 wfx.wBitsPerSample, 653 wfx.cbSize)); 654 639 655 dsoundUpdateStatusInternal(pThis); 640 656 … … 688 704 689 705 /* 690 * Query the actual parameters. 706 * Query the actual parameters set for this stream. 707 * Those might be different than the initially requested parameters. 691 708 */ 709 RT_ZERO(wfx); 692 710 hr = IDirectSoundBuffer8_GetFormat(pStreamDS->Out.pDSB, &wfx, sizeof(wfx), NULL); 693 711 if (FAILED(hr)) … … 708 726 } 709 727 710 DSLOG(("DSound: Playback format:\n"728 DSLOG(("DSound: Acquired playback format:\n" 711 729 " dwBufferBytes = %RI32\n" 712 730 " dwFlags = 0x%x\n"
Note:
See TracChangeset
for help on using the changeset viewer.