VirtualBox

Changeset 68901 in vbox


Ignore:
Timestamp:
Sep 28, 2017 9:00:47 AM (7 years ago)
Author:
vboxsync
Message:

Audio/HDA: Renaming.

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

Legend:

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

    r68900 r68901  
    13011301                /* (Re-)init the stream's period. */
    13021302                hdaStreamPeriodInit(&pStream->State.Period,
    1303                                     pStream->u8SD, pStream->u16LVI, pStream->u32CBL, &pStream->State.strmCfg);
     1303                                    pStream->u8SD, pStream->u16LVI, pStream->u32CBL, &pStream->State.Cfg);
    13041304
    13051305                /* Begin a new period for this stream. */
     
    18461846    {
    18471847        /* Add the stream to the device setup. */
    1848         rc = hdaAddStream(pThis, &pStream->State.strmCfg);
     1848        rc = hdaAddStream(pThis, &pStream->State.Cfg);
    18491849# ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO
    18501850        if (RT_SUCCESS(rc))
     
    35353535
    35363536                /* Add the stream to the device setup. */
    3537                 rc2 = hdaAddStream(pThis, &pStream->State.strmCfg);
     3537                rc2 = hdaAddStream(pThis, &pStream->State.Cfg);
    35383538                AssertRC(rc2);
    35393539
     
    39623962         */
    39633963        hdaStreamPeriodInit(&pStrm->State.Period,
    3964                             pStrm->u8SD, pStrm->u16LVI, pStrm->u32CBL, &pStrm->State.strmCfg);
     3964                            pStrm->u8SD, pStrm->u16LVI, pStrm->u32CBL, &pStrm->State.Cfg);
    39653965
    39663966        if (   SSMR3HandleRevision(pSSM) >= 116273
  • trunk/src/VBox/Devices/Audio/HDAStream.cpp

    r68603 r68901  
    138138    hdaStreamUpdateLPIB(pStream, HDA_STREAM_REG(pThis, LPIB, pStream->u8SD));
    139139
    140     PPDMAUDIOSTREAMCFG pCfg = &pStream->State.strmCfg;
     140    PPDMAUDIOSTREAMCFG pCfg = &pStream->State.Cfg;
    141141
    142142    int rc = hdaSDFMTToPCMProps(HDA_STREAM_REG(pThis, FMT, uSD), &pCfg->Props);
     
    560560    AssertPtr(pStream->pHDAState->pCodec);
    561561
    562     PPDMAUDIOSTREAMCFG pCfg = &pStream->State.strmCfg;
     562    PPDMAUDIOSTREAMCFG pCfg = &pStream->State.Cfg;
    563563
    564564    /* A stream *always* runs with 48 kHz device-wise, regardless of the actual stream input/output format (Hz) being set. */
  • trunk/src/VBox/Devices/Audio/HDAStream.h

    r67903 r68901  
    116116    /** The stream's current configuration.
    117117     *  Should match SDFMT. */
    118     PDMAUDIOSTREAMCFG       strmCfg;
     118    PDMAUDIOSTREAMCFG       Cfg;
    119119#ifdef HDA_USE_DMA_ACCESS_HANDLER
    120120    /** List of DMA handlers. */
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