VirtualBox

Ignore:
Timestamp:
Dec 6, 2018 3:14:02 PM (6 years ago)
Author:
vboxsync
Message:

Audio/HDA: Cleaned up setting the stream registers at one defined place (hdaR3StreamInit()).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/HDAStream.h

    r75983 r76018  
    201201    uint8_t                  u8Channel;
    202202    uint8_t                  Padding0[6];
    203     /** DMA base address (SDnBDPU - SDnBDPL). */
     203    /** DMA base address (SDnBDPU - SDnBDPL).
     204     *  Will be updated in hdaR3StreamInit(). */
    204205    uint64_t                 u64BDLBase;
    205206    /** Cyclic Buffer Length (SDnCBL).
    206      *  Represents the size of the ring buffer. */
     207     *  Represents the size of the ring buffer.
     208     *  Will be updated in hdaR3StreamInit(). */
    207209    uint32_t                 u32CBL;
    208     /** Format (SDnFMT). */
     210    /** Format (SDnFMT).
     211     *  Will be updated in hdaR3StreamInit(). */
    209212    uint16_t                 u16FMT;
    210213    /** FIFO Size (FIFOS).
    211214     *  Maximum number of bytes that may have been DMA'd into
    212      *  memory but not yet transmitted on the link. */
     215     *  memory but not yet transmitted on the link.
     216     *
     217     *  Will be updated in hdaR3StreamInit(). */
    213218    uint16_t                 u16FIFOS;
    214219    /** FIFO Watermark. */
    215220    uint16_t                 u16FIFOW;
    216     /** Last Valid Index (SDnLVI). */
     221    /** Last Valid Index (SDnLVI).
     222     *  Will be updated in hdaR3StreamInit(). */
    217223    uint16_t                 u16LVI;
    218224    uint16_t                 Padding1[2];
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