VirtualBox

Changeset 89487 in vbox for trunk/include


Ignore:
Timestamp:
Jun 3, 2021 8:16:17 PM (4 years ago)
Author:
vboxsync
Message:

Audio: Changed PDMIHOSTAUDIO::pfnStreamCreate to take a pointer to a const pCfgReq parameter. bugref:9890

File:
1 edited

Legend:

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

    r89415 r89487  
    12491249     * @retval  VINF_AUDIO_STREAM_ASYNC_INIT_NEEDED if
    12501250     *          PDMIHOSTAUDIO::pfnStreamInitAsync should be called.
    1251      * @param   pInterface          Pointer to the interface structure containing the called function pointer.
    1252      * @param   pStream             Pointer to audio stream.
    1253      * @param   pCfgReq             Pointer to requested stream configuration.
    1254      * @param   pCfgAcq             Pointer to acquired stream configuration.
    1255      * @todo    r=bird: Implementation (at least Alsa) seems to make undocumented
    1256      *          assumptions about the content of @a pCfgAcq.
     1251     * @param   pInterface      Pointer to this interface.
     1252     * @param   pStream         Pointer to the audio stream.
     1253     * @param   pCfgReq         The requested stream configuration.
     1254     * @param   pCfgAcq         The acquired stream configuration - output.  This is
     1255     *                          the same as @a *pCfgReq when called, the
     1256     *                          implementation will adjust it to make the actual
     1257     *                          stream configuration as needed.
    12571258     */
    12581259    DECLR3CALLBACKMEMBER(int, pfnStreamCreate, (PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream,
    1259                                                 PPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq));
     1260                                                PCPDMAUDIOSTREAMCFG pCfgReq, PPDMAUDIOSTREAMCFG pCfgAcq));
    12601261
    12611262    /**
     
    13911392
    13921393/** PDMIHOSTAUDIO interface ID. */
    1393 #define PDMIHOSTAUDIO_IID                           "b942d1cd-ffbf-490b-a296-74f30884bbd6"
     1394#define PDMIHOSTAUDIO_IID                           "0625ae75-491b-428b-836e-4f8a9869788f"
    13941395
    13951396
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