VirtualBox

Ignore:
Timestamp:
Jul 27, 2016 4:31:50 PM (8 years ago)
Author:
vboxsync
Message:

Audio: Documentation, misc. cleanup.

File:
1 edited

Legend:

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

    r62463 r62605  
    28562856
    28572857            if (   RT_FAILURE(rc2)
    2858                 && (pDrv->Flags & PDMAUDIODRVFLAG_PRIMARY)) /* We only care about primary drivers here, the rest may fail. */
     2858                && (pDrv->Flags & PDMAUDIODRVFLAGS_PRIMARY)) /* We only care about primary drivers here, the rest may fail. */
    28592859            {
    28602860                if (RT_SUCCESS(rc))
     
    56005600             */
    56015601            if (pDrv->uLUN == 0)
    5602                 pDrv->Flags |= PDMAUDIODRVFLAG_PRIMARY;
     5602                pDrv->Flags |= PDMAUDIODRVFLAGS_PRIMARY;
    56035603
    56045604            LogFunc(("LUN#%u: pCon=%p, drvFlags=0x%x\n", uLUN, pDrv->pConnector, pDrv->Flags));
     
    59165916        if (RT_SUCCESS(rc))
    59175917        {
    5918             /* Set a default audio format for our mixer. */
    5919             PDMAUDIOSTREAMCFG streamCfg;
    5920             streamCfg.uHz           = 44100;
    5921             streamCfg.cChannels     = 2;
    5922             streamCfg.enmFormat     = PDMAUDIOFMT_S16;
    5923             streamCfg.enmEndianness = PDMAUDIOHOSTENDIANNESS;
    5924 
    5925             rc = AudioMixerSetDeviceFormat(pThis->pMixer, &streamCfg);
    5926             AssertRC(rc);
    5927 
    59285918            /*
    59295919             * Add mixer output sinks.
     
    60126002             * might not worth showing an own error message box in the GUI.
    60136003             */
    6014             if (!(pDrv->Flags & PDMAUDIODRVFLAG_PRIMARY))
     6004            if (!(pDrv->Flags & PDMAUDIODRVFLAGS_PRIMARY))
    60156005                continue;
    60166006
     
    62216211            /* Only register primary driver.
    62226212             * The device emulation does the output multiplexing then. */
    6223             if (pDrv->Flags != PDMAUDIODRVFLAG_PRIMARY)
     6213            if (pDrv->Flags != PDMAUDIODRVFLAGS_PRIMARY)
    62246214                continue;
    62256215
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