VirtualBox

Changeset 74041 in vbox for trunk/src/VBox/Devices/Audio


Ignore:
Timestamp:
Sep 3, 2018 12:46:20 PM (6 years ago)
Author:
vboxsync
Message:

Audio/Mixer: Added AudioMixerSinkGetName().

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

Legend:

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

    r73815 r74041  
    992992
    993993    return enmDir;
     994}
     995
     996/**
     997 * Returns the sink's (friendly) name.
     998 *
     999 * @returns The sink's (friendly) name.
     1000 */
     1001const char *AudioMixerSinkGetName(const PAUDMIXSINK pSink)
     1002{
     1003    AssertPtrReturn(pSink, "<Unknown>");
     1004
     1005    return pSink->pszName;
    9941006}
    9951007
  • trunk/src/VBox/Devices/Audio/AudioMixer.h

    r73730 r74041  
    240240uint32_t AudioMixerSinkGetWritable(PAUDMIXSINK pSink);
    241241AUDMIXSINKDIR AudioMixerSinkGetDir(PAUDMIXSINK pSink);
     242const char *AudioMixerSinkGetName(const PAUDMIXSINK pSink);
    242243PAUDMIXSTREAM AudioMixerSinkGetRecordingSource(PAUDMIXSINK pSink);
    243244PAUDMIXSTREAM AudioMixerSinkGetStream(PAUDMIXSINK pSink, uint8_t uIndex);
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