Changeset 73838 in vbox
- Timestamp:
- Aug 22, 2018 4:15:08 PM (6 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
-
include/VBox/vmm/pdmaudioifs.h (modified) (1 diff)
-
src/VBox/Devices/Audio/DevHDA.cpp (modified) (1 diff)
-
src/VBox/Devices/Audio/DrvHostALSAAudio.cpp (modified) (1 diff)
-
src/VBox/Devices/Audio/DrvHostCoreAudio.cpp (modified) (1 diff)
-
src/VBox/Devices/Audio/DrvHostDSound.cpp (modified) (1 diff)
-
src/VBox/Devices/Audio/DrvHostDebugAudio.cpp (modified) (1 diff)
-
src/VBox/Devices/Audio/DrvHostNullAudio.cpp (modified) (1 diff)
-
src/VBox/Devices/Audio/DrvHostOSSAudio.cpp (modified) (1 diff)
-
src/VBox/Devices/Audio/DrvHostPulseAudio.cpp (modified) (1 diff)
-
src/VBox/Devices/Audio/DrvHostValidationKit.cpp (modified) (1 diff)
-
src/VBox/Main/src-client/DrvAudioVRDE.cpp (modified) (1 diff)
-
src/VBox/Main/src-client/DrvAudioVideoRec.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/pdmaudioifs.h
r73653 r73838 344 344 typedef struct PDMAUDIOBACKENDCFG 345 345 { 346 /** The backend's friendly name. */ 347 char szName[32]; 346 348 /** Size (in bytes) of the host backend's audio output stream structure. */ 347 349 size_t cbStreamOut; -
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r73833 r73838 2447 2447 PDMAUDIOBACKENDCFG Cfg; 2448 2448 rc = pDrv->pConnector->pfnGetConfig(pDrv->pConnector, &Cfg); 2449 if ( RT_SUCCESS(rc) 2450 && Cfg.cMaxStreamsIn) /* At least one input source available? */ 2449 if (RT_SUCCESS(rc)) 2451 2450 { 2452 rc = AudioMixerSinkSetRecordingSource(pMixSink, pMixStrm); 2453 LogFlowFunc(("LUN#%RU8: Recording source is now '%s', rc=%Rrc\n", pDrv->uLUN, pStreamCfg->szName, rc)); 2454 LogRel2(("HDA: Set recording source to '%s' (LUN#%RU8)\n", pStreamCfg->szName, pDrv->uLUN)); 2451 if (Cfg.cMaxStreamsIn) /* At least one input source available? */ 2452 { 2453 rc = AudioMixerSinkSetRecordingSource(pMixSink, pMixStrm); 2454 LogFlowFunc(("LUN#%RU8: Recording source for '%s' -> '%s', rc=%Rrc\n", 2455 pDrv->uLUN, pStreamCfg->szName, Cfg.szName, rc)); 2456 2457 if (RT_SUCCESS(rc)) 2458 LogRel(("HDA: Set recording source for '%s' to '%s'\n", 2459 pStreamCfg->szName, Cfg.szName)); 2460 } 2461 else 2462 LogRel(("HDA: Backend '%s' currently is not offering any recording source for '%s', muting\n", 2463 Cfg.szName, pStreamCfg->szName)); 2455 2464 } 2456 2465 else if (RT_FAILURE(rc)) 2457 LogFunc(("LUN#%RU8: Unable to retrieve backend configuratio for '%s', rc=%Rrc\n",2466 LogFunc(("LUN#%RU8: Unable to retrieve backend configuration for '%s', rc=%Rrc\n", 2458 2467 pDrv->uLUN, pStreamCfg->szName, rc)); 2459 2468 } -
trunk/src/VBox/Devices/Audio/DrvHostALSAAudio.cpp
r73689 r73838 1162 1162 RT_NOREF(pInterface); 1163 1163 AssertPtrReturn(pBackendCfg, VERR_INVALID_POINTER); 1164 1165 RTStrPrintf2(pBackendCfg->szName, sizeof(pBackendCfg->szName), "ALSA audio driver"); 1164 1166 1165 1167 pBackendCfg->cbStreamIn = sizeof(ALSAAUDIOSTREAM); -
trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp
r73689 r73838 2181 2181 2182 2182 RT_BZERO(pBackendCfg, sizeof(PDMAUDIOBACKENDCFG)); 2183 2184 RTStrPrintf2(pBackendCfg->szName, sizeof(pBackendCfg->szName), "Core Audio driver"); 2183 2185 2184 2186 pBackendCfg->cbStreamIn = sizeof(COREAUDIOSTREAM); -
trunk/src/VBox/Devices/Audio/DrvHostDSound.cpp
r73730 r73838 1744 1744 pThis->fEnabledOut = RT_BOOL(cbCtx.cDevOut); 1745 1745 pThis->fEnabledIn = RT_BOOL(cbCtx.cDevIn); 1746 1747 RTStrPrintf2(Cfg.szName, sizeof(Cfg.szName), "DirectSound audio driver"); 1746 1748 1747 1749 Cfg.cMaxStreamsIn = UINT32_MAX; -
trunk/src/VBox/Devices/Audio/DrvHostDebugAudio.cpp
r73454 r73838 70 70 RT_NOREF(pInterface); 71 71 AssertPtrReturn(pBackendCfg, VERR_INVALID_POINTER); 72 73 RTStrPrintf2(pBackendCfg->szName, sizeof(pBackendCfg->szName), "Debug audio driver"); 72 74 73 75 pBackendCfg->cbStreamOut = sizeof(DEBUGAUDIOSTREAM); -
trunk/src/VBox/Devices/Audio/DrvHostNullAudio.cpp
r73572 r73838 88 88 NOREF(pInterface); 89 89 AssertPtrReturn(pBackendCfg, VERR_INVALID_POINTER); 90 91 RTStrPrintf2(pBackendCfg->szName, sizeof(pBackendCfg->szName), "NULL audio driver"); 90 92 91 93 pBackendCfg->cbStreamOut = sizeof(NULLAUDIOSTREAM); -
trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp
r73696 r73838 552 552 { 553 553 RT_NOREF(pInterface); 554 555 RTStrPrintf2(pBackendCfg->szName, sizeof(pBackendCfg->szName), "OSS audio driver"); 554 556 555 557 pBackendCfg->cbStreamIn = sizeof(OSSAUDIOSTREAM); -
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r73831 r73838 1124 1124 PDMAUDIOBACKENDCFG Cfg; 1125 1125 RT_ZERO(Cfg); 1126 1127 RTStrPrintf2(Cfg.szName, sizeof(Cfg.szName), "PulseAudio driver"); 1126 1128 1127 1129 Cfg.cbStreamOut = sizeof(PULSEAUDIOSTREAM); -
trunk/src/VBox/Devices/Audio/DrvHostValidationKit.cpp
r73596 r73838 82 82 RT_NOREF(pInterface); 83 83 AssertPtrReturn(pBackendCfg, VERR_INVALID_POINTER); 84 85 RTStrPrintf2(pBackendCfg->szName, sizeof(pBackendCfg->szName), "Validation Kit audio driver"); 84 86 85 87 pBackendCfg->cbStreamOut = sizeof(VAKITAUDIOSTREAM); -
trunk/src/VBox/Main/src-client/DrvAudioVRDE.cpp
r73685 r73838 373 373 RT_NOREF(pInterface); 374 374 AssertPtrReturn(pBackendCfg, VERR_INVALID_POINTER); 375 376 RTStrPrintf2(pBackendCfg->szName, sizeof(pBackendCfg->szName), "VRDE audio driver"); 375 377 376 378 pBackendCfg->cbStreamOut = sizeof(VRDESTREAM); -
trunk/src/VBox/Main/src-client/DrvAudioVideoRec.cpp
r73543 r73838 834 834 RT_NOREF(pInterface); 835 835 AssertPtrReturn(pBackendCfg, VERR_INVALID_POINTER); 836 837 RTStrPrintf2(pBackendCfg->szName, sizeof(pBackendCfg->szName), "Video recording audio driver"); 836 838 837 839 pBackendCfg->cbStreamOut = sizeof(AVRECSTREAM);
Note:
See TracChangeset
for help on using the changeset viewer.

