VirtualBox

Changeset 65737 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Feb 10, 2017 4:10:45 PM (8 years ago)
Author:
vboxsync
Message:

DrvHostDebugAudio: Never capturing anything.

File:
1 edited

Legend:

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

    r65699 r65737  
    258258 * @interface_method_impl{PDMIHOSTAUDIO,pfnStreamCapture}
    259259 */
    260 static DECLCALLBACK(int) drvHostDebugAudioStreamCapture(PPDMIHOSTAUDIO pInterface,
    261                                                         PPDMAUDIOBACKENDSTREAM pStream, void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)
     260static DECLCALLBACK(int) drvHostDebugAudioStreamCapture(PPDMIHOSTAUDIO pInterface, PPDMAUDIOBACKENDSTREAM pStream,
     261                                                        void *pvBuf, uint32_t cbBuf, uint32_t *pcbRead)
    262262{
    263263    RT_NOREF(pInterface, pStream, pvBuf, cbBuf);
     
    359359    RT_NOREF(pInterface, pStream);
    360360
    361     return UINT32_MAX;
     361    return 0; /* Never capture anything. */
    362362}
    363363
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