VirtualBox

Changeset 64573 in vbox for trunk


Ignore:
Timestamp:
Nov 4, 2016 1:02:35 PM (8 years ago)
Author:
vboxsync
Message:

Build fix.

File:
1 edited

Legend:

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

    r64572 r64573  
    11811181
    11821182
     1183#ifdef IN_RING3
    11831184/**
    11841185 * Retrieves the number of bytes of a FIFOS register.
     
    12341235
    12351236
    1236 #ifdef IN_RING3
    12371237DECLINLINE(uint32_t) hdaStreamUpdateLPIB(PHDASTATE pThis, PHDASTREAM pStream, uint32_t u32LPIB)
    12381238{
     
    13481348}
    13491349
    1350 /**
    1351  * Retrieves the minimum number of bytes accumulated/free in the
    1352  * FIFO before the controller will start a fetch/eviction of data.
    1353  *
    1354  * Uses SDFIFOW (FIFO Watermark Register).
    1355  *
    1356  * @return Number of bytes accumulated/free in the FIFO.
    1357  */
    1358 DECLINLINE(uint8_t) hdaStreamGetFIFOW(PHDASTATE pThis, PHDASTREAM pStream)
    1359 {
    1360     AssertPtrReturn(pThis, 0);
    1361     AssertPtrReturn(pStream, 0);
    1362 
    1363 # ifdef VBOX_HDA_WITH_FIFO
    1364     return hdaSDFIFOWToBytes(HDA_STREAM_REG(pThis, FIFOW, pStream->u8SD));
    1365 # else
    1366     return 0;
    1367 # endif
    1368 }
    1369 
    1370 #endif /* IN_RING3 */
    13711350
    13721351/**
     
    13911370    return PDMAUDIODIR_OUT;
    13921371}
     1372#endif /* IN_RING3 */
     1373
    13931374
    13941375static void hdaUpdateINTSTS(PHDASTATE pThis)
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