VirtualBox

Changeset 55270 in vbox


Ignore:
Timestamp:
Apr 15, 2015 8:20:14 AM (10 years ago)
Author:
vboxsync
Message:

Devices/Audio: two warnings

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

Legend:

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

    r55065 r55270  
    26192619    AssertPtrReturn(pThis, VERR_INVALID_POINTER);
    26202620#endif /* VBOX_WITH_PDM_AUDIO_DRIVER */
    2621     int rc;
    26222621
    26232622    uint8_t      u8Strm;
     
    26562655    hdaInitTransferDescriptor(pThis, pBdle, u8Strm, &StreamDesc);
    26572656
     2657    int rc = VINF_EOF;
    26582658    while (cbAvail)
    26592659    {
  • trunk/src/VBox/Devices/Audio/testcase/tstAudioMixBuffer.cpp

    r54483 r55270  
    100100    RTTESTI_CHECK(!audioMixBufIsEmpty(&mb));
    101101    RTTESTI_CHECK(audioMixBufFree(&mb) == 1);
    102     RTTESTI_CHECK(audioMixBufFreeBytes(&mb) == AUDIOMIXBUF_S2B(&mb, 1));
     102    RTTESTI_CHECK(audioMixBufFreeBytes(&mb) == AUDIOMIXBUF_S2B(&mb, 1U));
    103103    RTTESTI_CHECK(audioMixBufProcessed(&mb) == cToWrite + written_abs /* + last absolute write */);
    104104
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