VirtualBox

Changeset 73391 in vbox


Ignore:
Timestamp:
Jul 30, 2018 9:13:57 AM (6 years ago)
Author:
vboxsync
Message:

Audio/AudioMixer: Added a define for the audio mixer stream flags.

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

Legend:

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

    r73381 r73391  
    577577 * @param   pConn               Audio connector interface to use.
    578578 * @param   pCfg                Audio stream configuration to use.
    579  * @param   fFlags              Stream creation flags. Currently unused, set to 0.
     579 * @param   fFlags              Stream flags. Currently unused, set to 0.
    580580 * @param   ppStream            Pointer which receives the newly created audio stream.
    581581 */
    582582int AudioMixerSinkCreateStream(PAUDMIXSINK pSink,
    583                                PPDMIAUDIOCONNECTOR pConn, PPDMAUDIOSTREAMCFG pCfg, uint32_t fFlags, PAUDMIXSTREAM *ppStream)
     583                               PPDMIAUDIOCONNECTOR pConn, PPDMAUDIOSTREAMCFG pCfg, AUDMIXSTREAMFLAGS fFlags, PAUDMIXSTREAM *ppStream)
    584584{
    585585    AssertPtrReturn(pSink, VERR_INVALID_POINTER);
  • trunk/src/VBox/Devices/Audio/AudioMixer.h

    r73370 r73391  
    4343    uint8_t                 cSinks;
    4444} AUDIOMIXER, *PAUDIOMIXER;
     45
     46/** Defines an audio mixer stream's flags. */
     47#define AUDMIXSTREAMFLAGS uint32_t
    4548
    4649/** No flags specified. */
     
    235238
    236239int AudioMixerSinkAddStream(PAUDMIXSINK pSink, PAUDMIXSTREAM pStream);
    237 int AudioMixerSinkCreateStream(PAUDMIXSINK pSink, PPDMIAUDIOCONNECTOR pConnector, PPDMAUDIOSTREAMCFG pCfg, uint32_t fFlags, PAUDMIXSTREAM *ppStream);
     240int AudioMixerSinkCreateStream(PAUDMIXSINK pSink, PPDMIAUDIOCONNECTOR pConnector, PPDMAUDIOSTREAMCFG pCfg, AUDMIXSTREAMFLAGS fFlags, PAUDMIXSTREAM *ppStream);
    238241int AudioMixerSinkCtl(PAUDMIXSINK pSink, AUDMIXSINKCMD enmCmd);
    239242void AudioMixerSinkDestroy(PAUDMIXSINK pSink);
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