VirtualBox

Changeset 65744 in vbox for trunk/src


Ignore:
Timestamp:
Feb 10, 2017 4:50:00 PM (8 years ago)
Author:
vboxsync
Message:

Logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostPulseAudio.cpp

    r65736 r65744  
    263263
    264264        default:
    265             AssertFailed();
    266             LogRel(("PulseAudio: Format (%ld) not supported\n", pulsefmt));
     265            AssertLogRelMsg(("PulseAudio: Format (%ld) not supported\n", pulsefmt));
    267266            return VERR_NOT_SUPPORTED;
    268267    }
     
    420419    if (!pa_sample_spec_valid(pSampleSpec))
    421420    {
    422         LogRel(("PulseAudio: Unsupported sample specification for stream \"%s\"\n",
     421        LogRel(("PulseAudio: Unsupported sample specification for stream '%s'\n",
    423422                pszName));
    424423        return VERR_NOT_SUPPORTED;
     
    430429    uint32_t   flags = PA_STREAM_NOFLAGS;
    431430
    432     LogFunc(("Opening \"%s\", rate=%dHz, channels=%d, format=%s\n",
     431    LogFunc(("Opening '%s', rate=%dHz, channels=%d, format=%s\n",
    433432             pszName, pSampleSpec->rate, pSampleSpec->channels,
    434433             pa_sample_format_to_string(pSampleSpec->format)));
     
    442441                                      NULL /* pa_channel_map */)))
    443442        {
    444             LogRel(("PulseAudio: Could not create stream \"%s\"\n", pszName));
     443            LogRel(("PulseAudio: Could not create stream '%s'\n", pszName));
    445444            rc = VERR_NO_MEMORY;
    446445            break;
     
    468467            if (pa_stream_connect_record(pStream, /*dev=*/NULL, pBufAttr, (pa_stream_flags_t)flags) < 0)
    469468            {
    470                 LogRel(("PulseAudio: Could not connect input stream \"%s\": %s\n",
     469                LogRel(("PulseAudio: Could not connect input stream '%s': %s\n",
    471470                        pszName, pa_strerror(pa_context_errno(pThis->pContext))));
    472471                rc = VERR_AUDIO_BACKEND_INIT_FAILED;
     
    482481                                           /*cvolume=*/NULL, /*sync_stream=*/NULL) < 0)
    483482            {
    484                 LogRel(("PulseAudio: Could not connect playback stream \"%s\": %s\n",
     483                LogRel(("PulseAudio: Could not connect playback stream '%s': %s\n",
    485484                        pszName, pa_strerror(pa_context_errno(pThis->pContext))));
    486485                rc = VERR_AUDIO_BACKEND_INIT_FAILED;
     
    502501                     || streamSt == PA_STREAM_TERMINATED)
    503502            {
    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));
    505504                rc = VERR_AUDIO_BACKEND_INIT_FAILED;
    506505                break;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette