Changeset 68901 in vbox
- Timestamp:
- Sep 28, 2017 9:00:47 AM (7 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 3 edited
-
DevHDA.cpp (modified) (4 diffs)
-
HDAStream.cpp (modified) (2 diffs)
-
HDAStream.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r68900 r68901 1301 1301 /* (Re-)init the stream's period. */ 1302 1302 hdaStreamPeriodInit(&pStream->State.Period, 1303 pStream->u8SD, pStream->u16LVI, pStream->u32CBL, &pStream->State. strmCfg);1303 pStream->u8SD, pStream->u16LVI, pStream->u32CBL, &pStream->State.Cfg); 1304 1304 1305 1305 /* Begin a new period for this stream. */ … … 1846 1846 { 1847 1847 /* Add the stream to the device setup. */ 1848 rc = hdaAddStream(pThis, &pStream->State. strmCfg);1848 rc = hdaAddStream(pThis, &pStream->State.Cfg); 1849 1849 # ifdef VBOX_WITH_AUDIO_HDA_ASYNC_IO 1850 1850 if (RT_SUCCESS(rc)) … … 3535 3535 3536 3536 /* Add the stream to the device setup. */ 3537 rc2 = hdaAddStream(pThis, &pStream->State. strmCfg);3537 rc2 = hdaAddStream(pThis, &pStream->State.Cfg); 3538 3538 AssertRC(rc2); 3539 3539 … … 3962 3962 */ 3963 3963 hdaStreamPeriodInit(&pStrm->State.Period, 3964 pStrm->u8SD, pStrm->u16LVI, pStrm->u32CBL, &pStrm->State. strmCfg);3964 pStrm->u8SD, pStrm->u16LVI, pStrm->u32CBL, &pStrm->State.Cfg); 3965 3965 3966 3966 if ( SSMR3HandleRevision(pSSM) >= 116273 -
trunk/src/VBox/Devices/Audio/HDAStream.cpp
r68603 r68901 138 138 hdaStreamUpdateLPIB(pStream, HDA_STREAM_REG(pThis, LPIB, pStream->u8SD)); 139 139 140 PPDMAUDIOSTREAMCFG pCfg = &pStream->State. strmCfg;140 PPDMAUDIOSTREAMCFG pCfg = &pStream->State.Cfg; 141 141 142 142 int rc = hdaSDFMTToPCMProps(HDA_STREAM_REG(pThis, FMT, uSD), &pCfg->Props); … … 560 560 AssertPtr(pStream->pHDAState->pCodec); 561 561 562 PPDMAUDIOSTREAMCFG pCfg = &pStream->State. strmCfg;562 PPDMAUDIOSTREAMCFG pCfg = &pStream->State.Cfg; 563 563 564 564 /* 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 116 116 /** The stream's current configuration. 117 117 * Should match SDFMT. */ 118 PDMAUDIOSTREAMCFG strmCfg;118 PDMAUDIOSTREAMCFG Cfg; 119 119 #ifdef HDA_USE_DMA_ACCESS_HANDLER 120 120 /** List of DMA handlers. */
Note:
See TracChangeset
for help on using the changeset viewer.

