VirtualBox

Changeset 88253 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Mar 22, 2021 6:14:09 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143453
Message:

DrvAudio,++: Started going over and tidying up the StreamPlay functionality. First major change is to treat the RAW layout just like non-RAW ones and count all in bytes. bugref:9890

File:
1 edited

Legend:

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

    r88144 r88253  
    18241824     * @param   pStream     Pointer to audio stream.
    18251825     * @param   pvBuf       Pointer to audio data buffer to play.
    1826      * @param   uBufSize    The audio data buffer size (see note below for unit).
    1827      * @param   puWritten   Number of unit written.
    1828      * @note    The @a uBufSize and @a puWritten values are in bytes for non-raw
    1829      *          layout streams and in frames for raw layout ones.
     1826     * @param   cbBuf       The number of bytes of audio data to play.
     1827     * @param   pcbWritten  Where to return the actual number of bytes played.
    18301828     */
    18311829    DECLR3CALLBACKMEMBER(int, pfnStreamPlay, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream,
    1832                                               const void *pvBuf, uint32_t uBufSize, uint32_t *puWritten));
     1830                                              const void *pvBuf, uint32_t cbBuf, uint32_t *pcbWritten));
    18331831
    18341832    /**
     
    18741872
    18751873/** PDMIHOSTAUDIO interface ID. */
    1876 #define PDMIHOSTAUDIO_IID                           "007847a0-0075-4964-007d-343f0010f081"
     1874#define PDMIHOSTAUDIO_IID                           "be34182b-d579-41e8-96e0-abb94900460f"
    18771875
    18781876/** @} */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette