VirtualBox

Changeset 88954 in vbox for trunk


Ignore:
Timestamp:
May 9, 2021 12:48:03 AM (4 years ago)
Author:
vboxsync
Message:

Audio: doxygen and stats tweaks. bugref:9890

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

Legend:

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

    r88944 r88954  
    21622162
    21632163/**
    2164  * @callback_method_impl{FNRTTHREAD, Asynchronous I/O thread for a HDA stream.}
     2164 * @callback_method_impl{FNAUDMIXSINKUPDATE}
    21652165 *
    21662166 * For output streams this moves data from the internal DMA buffer (in which
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r88953 r88954  
    334334    /** Circular buffer (FIFO) for holding DMA'ed data. */
    335335    R3PTRTYPE(PRTCIRCBUF)   pCircBuf;
     336#if HC_ARCH_BITS == 32
     337    uint32_t                Padding;
     338#endif
    336339    /** Current circular buffer read offset (for tracing & logging). */
    337340    uint64_t                offRead;
    338341    /** Current circular buffer write offset (for tracing & logging). */
    339342    uint64_t                offWrite;
    340 #if HC_ARCH_BITS == 32
    341     uint32_t                Padding;
    342 #endif
    343343    /** The stream's current configuration. */
    344344    PDMAUDIOSTREAMCFG       Cfg; //+108
     
    11821182 * buffer.
    11831183 *
    1184  * @param   pStreamR3       HDA stream to update (ring-3 bits).
     1184 * @param   pStreamR3       The AC'97 stream (ring-3 bits).
    11851185 * @param   pSink           The mixer sink to pull from.
    11861186 */
     
    12081208 * Output streams: Pushes data to the mixer.
    12091209 *
    1210  * @param   pStreamR3       HDA stream to update (ring-3 bits).
     1210 * @param   pStreamR3       The AC'97 stream (ring-3 bits).
    12111211 * @param   pSink           The mixer sink to push to.
    12121212 */
     
    13591359
    13601360/**
    1361  * @callback_method_impl{FNRTTHREAD, Asynchronous I/O thread for an AC'97 stream.}
     1361 * @callback_method_impl{FNAUDMIXSINKUPDATE}
    13621362 *
    13631363 * For output streams this moves data from the internal DMA buffer (in which
     
    39893989    PDMDevHlpSTAMRegister(pDevIns, &pThis->StatBytesWritten, STAMTYPE_COUNTER, "BytesWritten", STAMUNIT_BYTES,          "Bytes written to AC97 emulation.");
    39903990# endif
    3991     for (unsigned idxStream = 0; idxStream < RT_ELEMENTS(s_apszNames); idxStream++)
     3991    for (unsigned idxStream = 0; idxStream < RT_ELEMENTS(pThis->aStreams); idxStream++)
    39923992    {
    39933993        PDMDevHlpSTAMRegisterF(pDevIns, &pThisCC->aStreams[idxStream].State.offRead, STAMTYPE_U64, STAMVISIBILITY_USED, STAMUNIT_BYTES,
     
    39993999        PDMDevHlpSTAMRegisterF(pDevIns, &pThisCC->aStreams[idxStream].State.StatDmaBufUsed, STAMTYPE_U32, STAMVISIBILITY_USED, STAMUNIT_BYTES,
    40004000                               "Number of bytes used in the internal DMA buffer.",  "Stream%u/DMABufUsed", idxStream);
    4001 
    40024001    }
    40034002
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