Changeset 63536 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 16, 2016 10:26:39 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r63534 r63536 526 526 memcpy(&CfgHostAcq, pCfgHost, sizeof(PDMAUDIOSTREAMCFG)); 527 527 528 #ifdef DEBUG 529 LogFunc(("[%s] Requested host format:\n", pStream->szName)); 530 DrvAudioHlpStreamCfgPrint(pCfgHost); 531 #else 532 LogRel2(("Audio: Requested %s host format for '%s': %RU32Hz, %s, %RU8 %s\n", 533 pCfgGuest->enmDir == PDMAUDIODIR_IN ? "recording" : "playback", pStream->szName, 534 pCfgHost->uHz, DrvAudioHlpAudFmtToStr(pCfgHost->enmFormat), 535 pCfgHost->cChannels, pCfgHost->cChannels == 0 ? "Channel" : "Channels")); 536 #endif 537 528 538 int rc = pThis->pHostDrvAudio->pfnStreamCreate(pThis->pHostDrvAudio, pHstStream, 529 539 pCfgHost /* pCfgReq */, &CfgHostAcq /* pCfgAcq */); … … 536 546 } 537 547 else 548 { 538 549 LogFlowFunc(("[%s] Initializing stream in host backend failed with rc=%Rrc\n", pStream->szName, rc)); 550 } 551 552 #ifdef DEBUG 553 LogFunc(("[%s] Acquired host format:\n", pStream->szName)); 554 DrvAudioHlpStreamCfgPrint(&CfgHostAcq); 555 #else 556 LogRel2(("Audio: Acquired %s host format for '%s': %RU32Hz, %s, %RU8 %s\n", 557 pCfgGuest->enmDir == PDMAUDIODIR_IN ? "recording" : "playback", pStream->szName, 558 CfgHostAcq.uHz, DrvAudioHlpAudFmtToStr(CfgHostAcq.enmFormat), 559 CfgHostAcq.cChannels, CfgHostAcq.cChannels == 0 ? "Channel" : "Channels")); 560 #endif 539 561 540 562 PDMAUDIOPCMPROPS PCMProps;
Note:
See TracChangeset
for help on using the changeset viewer.