VirtualBox

Changeset 87573 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Feb 3, 2021 3:27:46 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
142600
Message:

Audio/HDA: Doxygen fix (it doesn't have VBOX_WITH_AUDIO_HDA_ASYNC_IO defined and got confused by unbalanced {} #ifdefs).

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

Legend:

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

    r87567 r87573  
    44874487 * @param   pThis       The shared HDA device state.
    44884488 * @param   pThisCC     The ring-3 HDA device state.
    4489  * @param   pThis       Device instance.
    44904489 * @param   iLun        The logical unit which is being replaced.
    44914490 */
  • trunk/src/VBox/Devices/Audio/DevHDACommon.h

    r87320 r87573  
    625625/** @} */
    626626
    627 /** @name Register utility functions. */
     627/** @name Register utility functions.
     628 * @{  */
    628629uint8_t       hdaSDFIFOWToBytes(uint16_t u16RegFIFOW);
    629630/** @} */
  • trunk/src/VBox/Devices/Audio/HDAStream.cpp

    r87567 r87573  
    15821582/**
    15831583 * Updates a HDA stream by doing its required data transfers.
     1584 *
    15841585 * The host sink(s) set the overall pace.
    1585  *
    1586  * This routine is called by both, the synchronous and the asynchronous, implementations.
    15871586 *
    15881587 * This routine is called by both, the synchronous and the asynchronous
     
    16281627# endif
    16291628        {
    1630 
    16311629            uint32_t cbStreamFree = hdaR3StreamGetFree(pStreamR3);
    16321630            if (!cbStreamFree)
     
    16591657                pStreamShared->State.tsLastUpdateNs = tsNowNs;
    16601658            }
    1661 
    1662 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO
    16631659        }
    1664 # endif
    16651660        Log3Func(("[SD%RU8] fInTimer=%RTbool, tsLastUpdateNs=%RU64, fDoRead=%RTbool\n",
    16661661                  pStreamShared->u8SD, fInTimer, pStreamShared->State.tsLastUpdateNs, fDoRead));
     
    16761671# ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO
    16771672        if (!fInTimer) /* In async I/O thread */
    1678         {
    16791673# else
    16801674        if (fDoRead)
     1675# endif
    16811676        {
    1682 # endif
    16831677            const uint32_t cbSinkWritable     = AudioMixerSinkGetWritable(pSink);
    16841678            const uint32_t cbStreamReadable   = hdaR3StreamGetUsed(pStreamR3);
     
    17061700# ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO
    17071701        if (!fInTimer)
     1702# endif
    17081703        {
    1709 # endif
    17101704            rc2 = AudioMixerSinkUpdate(pSink);
    17111705            AssertRC(rc2);
     
    17511745                }
    17521746            }
     1747        }
    17531748# ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO
    1754         }
    17551749        else /* fInTimer */
     1750# endif
    17561751        {
    1757 # endif
    1758 
    17591752# ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO
    17601753            const uint64_t tsNowNs = RTTimeNanoTS();
     
    17731766                AssertRC(rc2);
    17741767            }
    1775 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO
    17761768        }
    1777 # endif
    17781769    }
    17791770}
Note: See TracChangeset for help on using the changeset viewer.

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