- Timestamp:
- May 9, 2021 12:48:03 AM (4 years ago)
- Location:
- trunk/src/VBox/Devices/Audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHdaStream.cpp
r88944 r88954 2162 2162 2163 2163 /** 2164 * @callback_method_impl{FN RTTHREAD, Asynchronous I/O thread for a HDA stream.}2164 * @callback_method_impl{FNAUDMIXSINKUPDATE} 2165 2165 * 2166 2166 * For output streams this moves data from the internal DMA buffer (in which -
trunk/src/VBox/Devices/Audio/DevIchAc97.cpp
r88953 r88954 334 334 /** Circular buffer (FIFO) for holding DMA'ed data. */ 335 335 R3PTRTYPE(PRTCIRCBUF) pCircBuf; 336 #if HC_ARCH_BITS == 32 337 uint32_t Padding; 338 #endif 336 339 /** Current circular buffer read offset (for tracing & logging). */ 337 340 uint64_t offRead; 338 341 /** Current circular buffer write offset (for tracing & logging). */ 339 342 uint64_t offWrite; 340 #if HC_ARCH_BITS == 32341 uint32_t Padding;342 #endif343 343 /** The stream's current configuration. */ 344 344 PDMAUDIOSTREAMCFG Cfg; //+108 … … 1182 1182 * buffer. 1183 1183 * 1184 * @param pStreamR3 HDA stream to update(ring-3 bits).1184 * @param pStreamR3 The AC'97 stream (ring-3 bits). 1185 1185 * @param pSink The mixer sink to pull from. 1186 1186 */ … … 1208 1208 * Output streams: Pushes data to the mixer. 1209 1209 * 1210 * @param pStreamR3 HDA stream to update(ring-3 bits).1210 * @param pStreamR3 The AC'97 stream (ring-3 bits). 1211 1211 * @param pSink The mixer sink to push to. 1212 1212 */ … … 1359 1359 1360 1360 /** 1361 * @callback_method_impl{FN RTTHREAD, Asynchronous I/O thread for an AC'97 stream.}1361 * @callback_method_impl{FNAUDMIXSINKUPDATE} 1362 1362 * 1363 1363 * For output streams this moves data from the internal DMA buffer (in which … … 3989 3989 PDMDevHlpSTAMRegister(pDevIns, &pThis->StatBytesWritten, STAMTYPE_COUNTER, "BytesWritten", STAMUNIT_BYTES, "Bytes written to AC97 emulation."); 3990 3990 # endif 3991 for (unsigned idxStream = 0; idxStream < RT_ELEMENTS( s_apszNames); idxStream++)3991 for (unsigned idxStream = 0; idxStream < RT_ELEMENTS(pThis->aStreams); idxStream++) 3992 3992 { 3993 3993 PDMDevHlpSTAMRegisterF(pDevIns, &pThisCC->aStreams[idxStream].State.offRead, STAMTYPE_U64, STAMVISIBILITY_USED, STAMUNIT_BYTES, … … 3999 3999 PDMDevHlpSTAMRegisterF(pDevIns, &pThisCC->aStreams[idxStream].State.StatDmaBufUsed, STAMTYPE_U32, STAMVISIBILITY_USED, STAMUNIT_BYTES, 4000 4000 "Number of bytes used in the internal DMA buffer.", "Stream%u/DMABufUsed", idxStream); 4001 4002 4001 } 4003 4002
Note:
See TracChangeset
for help on using the changeset viewer.