Changeset 67576 in vbox
- Timestamp:
- Jun 23, 2017 9:38:38 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r67563 r67576 334 334 335 335 default: 336 LogRel(("PulseAudio: ignoring state change %d\n", pa_context_get_state(pCtx)));337 336 break; 338 337 } … … 1052 1051 pa_threaded_mainloop_lock(pThis->pMainLoop); 1053 1052 1054 LogRel(("PulseAudio: starting server enumeration\n"));1055 1053 pThis->fEnumOpSuccess = false; 1056 1054 int rc = paWaitFor(pThis, pa_context_get_server_info(pThis->pContext, paEnumServerCb, &CbCtx)); 1057 LogRel(("PulseAudio: server enumeration done rc=%Rrc success=%d\n", rc, pThis->fEnumOpSuccess));1058 1055 if (RT_SUCCESS(rc) && !pThis->fEnumOpSuccess) 1059 1056 rc = VERR_AUDIO_BACKEND_INIT_FAILED; /* error code does not matter */ … … 1065 1062 LogRel2(("PulseAudio: Default output sink is '%s'\n", CbCtx.pszDefaultSink)); 1066 1063 1067 LogRel(("PulseAudio: starting sink enumeration\n"));1068 1064 pThis->fEnumOpSuccess = false; 1069 1065 rc = paWaitFor(pThis, pa_context_get_sink_info_by_name(pThis->pContext, CbCtx.pszDefaultSink, 1070 1066 paEnumSinkCb, &CbCtx)); 1071 LogRel(("PulseAudio: sink enumeration done rc=%Rrc success=%d\n", rc, pThis->fEnumOpSuccess));1072 1067 if (RT_SUCCESS(rc) && !pThis->fEnumOpSuccess) 1073 1068 rc = VERR_AUDIO_BACKEND_INIT_FAILED; /* error code does not matter */ … … 1088 1083 LogRel2(("PulseAudio: Default input source is '%s'\n", CbCtx.pszDefaultSource)); 1089 1084 1090 LogRel(("PulseAudio: starting source enumeration\n"));1091 1085 pThis->fEnumOpSuccess = false; 1092 1086 rc = paWaitFor(pThis, pa_context_get_source_info_by_name(pThis->pContext, CbCtx.pszDefaultSource, 1093 1087 paEnumSourceCb, &CbCtx)); 1094 LogRel(("PulseAudio: source enumeration done rc=%Rrc success=%d\n", rc, pThis->fEnumOpSuccess));1095 1088 if ( (RT_FAILURE(rc) || !pThis->fEnumOpSuccess) 1096 1089 && fLog)
Note:
See TracChangeset
for help on using the changeset viewer.