VirtualBox

Changeset 54399 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Feb 23, 2015 7:10:54 PM (10 years ago)
Author:
vboxsync
Message:

Warnings.

Location:
trunk/src/VBox/Devices/Audio
Files:
3 edited

Legend:

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

    r54230 r54399  
    3838# include <VBox/log.h>
    3939#else
    40 # define AUDMIXBUF_LOG(x)
     40# define AUDMIXBUF_LOG(x) do {} while (0)
    4141#endif
    4242
  • trunk/src/VBox/Devices/Audio/DrvAudio.cpp

    r54230 r54399  
    287287
    288288            default:
    289                 LogFlowFunc(("Bad value tag for option `%s' - %d\n",
    290                              opt->name, opt->tag));
     289                LogFlowFunc(("Bad value tag for option `%s' - %d\n", opt->name, opt->tag));
     290                fUseDefault = false;
    291291                break;
    292292        }
  • trunk/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp

    r54388 r54399  
    359359#endif
    360360
    361     int rc, mask;
     361    int rc = VINF_SUCCESS;
     362    int mask;
    362363    switch (enmStreamCmd)
    363364    {
     
    370371            if (ioctl(pThisStrmOut->hFile, SNDCTL_DSP_SETTRIGGER, &mask) < 0)
    371372            {
    372                 LogRel(("OSS: Failed to enable output stream: %s\n",
    373                         strerror(errno)));
     373                LogRel(("OSS: Failed to enable output stream: %s\n", strerror(errno)));
    374374                rc = RTErrConvertFromErrno(errno);
    375375            }
     
    383383            if (ioctl(pThisStrmOut->hFile, SNDCTL_DSP_SETTRIGGER, &mask) < 0)
    384384            {
    385                 LogRel(("OSS: Failed to disable output stream: %s\n",
    386                        strerror(errno)));
     385                LogRel(("OSS: Failed to disable output stream: %s\n", strerror(errno)));
    387386                rc = RTErrConvertFromErrno(errno);
    388387            }
     
    781780    POSSAUDIOSTREAMOUT pThisStrmOut = (POSSAUDIOSTREAMOUT)pHstStrmOut;
    782781
    783     int rc;
     782    int rc = VINF_SUCCESS;
    784783    uint32_t cbReadTotal = 0;
    785784    count_info cntinfo;
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