VirtualBox

Changeset 68757 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Sep 14, 2017 6:25:45 AM (7 years ago)
Author:
vboxsync
Message:

Audio/DrvAudio.cpp: Added optional PDMIHOSTAUDIO::StreamGetPending() call for backends to implement and concentrated the close-pending code in drvAudioStreamIterateInternal().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmaudioifs.h

    r68750 r68757  
    13801380
    13811381    /**
     1382     * Returns the amount which is pending (in other words has not yet been processed) by/from the backend yet.
     1383     * Optional.
     1384     *
     1385     * For input streams this is audio data from the host which has not been processed yet.
     1386     * For output streams this is audio data from the guest host which has not been processed yet.
     1387     *
     1388     * @returns For non-raw layout streams: Number of pending bytes.
     1389     *          for raw layout streams    : Number of pending audio frames.
     1390     * @param   pInterface          Pointer to the interface structure containing the called function pointer.
     1391     * @param   pStream             Pointer to audio stream.
     1392     */
     1393    DECLR3CALLBACKMEMBER(uint32_t, pfnStreamGetPending, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream));
     1394
     1395    /**
    13821396     * Returns the current status of the given backend stream.
    13831397     *
     
    14601474
    14611475/** PDMIHOSTAUDIO interface ID. */
    1462 #define PDMIHOSTAUDIO_IID                           "378A5C7F-A45A-4B8B-C1DA-CB49E84894AA"
     1476#define PDMIHOSTAUDIO_IID                           "640F5A31-8245-491C-538F-29A0F9D08881"
    14631477
    14641478/** @} */
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