- Timestamp:
- Feb 10, 2017 4:50:00 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp
r65736 r65744 263 263 264 264 default: 265 AssertFailed(); 266 LogRel(("PulseAudio: Format (%ld) not supported\n", pulsefmt)); 265 AssertLogRelMsg(("PulseAudio: Format (%ld) not supported\n", pulsefmt)); 267 266 return VERR_NOT_SUPPORTED; 268 267 } … … 420 419 if (!pa_sample_spec_valid(pSampleSpec)) 421 420 { 422 LogRel(("PulseAudio: Unsupported sample specification for stream \"%s\"\n",421 LogRel(("PulseAudio: Unsupported sample specification for stream '%s'\n", 423 422 pszName)); 424 423 return VERR_NOT_SUPPORTED; … … 430 429 uint32_t flags = PA_STREAM_NOFLAGS; 431 430 432 LogFunc(("Opening \"%s\", rate=%dHz, channels=%d, format=%s\n",431 LogFunc(("Opening '%s', rate=%dHz, channels=%d, format=%s\n", 433 432 pszName, pSampleSpec->rate, pSampleSpec->channels, 434 433 pa_sample_format_to_string(pSampleSpec->format))); … … 442 441 NULL /* pa_channel_map */))) 443 442 { 444 LogRel(("PulseAudio: Could not create stream \"%s\"\n", pszName));443 LogRel(("PulseAudio: Could not create stream '%s'\n", pszName)); 445 444 rc = VERR_NO_MEMORY; 446 445 break; … … 468 467 if (pa_stream_connect_record(pStream, /*dev=*/NULL, pBufAttr, (pa_stream_flags_t)flags) < 0) 469 468 { 470 LogRel(("PulseAudio: Could not connect input stream \"%s\": %s\n",469 LogRel(("PulseAudio: Could not connect input stream '%s': %s\n", 471 470 pszName, pa_strerror(pa_context_errno(pThis->pContext)))); 472 471 rc = VERR_AUDIO_BACKEND_INIT_FAILED; … … 482 481 /*cvolume=*/NULL, /*sync_stream=*/NULL) < 0) 483 482 { 484 LogRel(("PulseAudio: Could not connect playback stream \"%s\": %s\n",483 LogRel(("PulseAudio: Could not connect playback stream '%s': %s\n", 485 484 pszName, pa_strerror(pa_context_errno(pThis->pContext)))); 486 485 rc = VERR_AUDIO_BACKEND_INIT_FAILED; … … 502 501 || streamSt == PA_STREAM_TERMINATED) 503 502 { 504 LogRel(("PulseAudio: Failed to initialize stream \"%s\"(state %ld)\n", pszName, streamSt));503 LogRel(("PulseAudio: Failed to initialize stream '%s' (state %ld)\n", pszName, streamSt)); 505 504 rc = VERR_AUDIO_BACKEND_INIT_FAILED; 506 505 break;
Note:
See TracChangeset
for help on using the changeset viewer.