VirtualBox

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


Ignore:
Timestamp:
Aug 3, 2016 12:32:36 PM (8 years ago)
Author:
vboxsync
Message:

DrvHoustDSound.cpp: 'static' is a magic word which shall prefix every function definition, unless it's really needed externally (see guidelines). It makes it immediately clear that the function is only used inside this file and avoids unnecessary grepping for other users.

File:
1 edited

Legend:

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

    r62910 r62911  
    12131213}
    12141214
    1215 static int dsoundDevAdd(PRTLISTANCHOR pList, LPGUID lpGUID,
    1216                         LPCWSTR lpwstrDescription, PDSOUNDDEV *ppDev)
     1215static int dsoundDevAdd(PRTLISTANCHOR pList, LPGUID lpGUID, LPCWSTR lpwstrDescription, PDSOUNDDEV *ppDev)
    12171216{
    12181217    AssertPtrReturn(pList, VERR_INVALID_POINTER);
     
    12591258}
    12601259
    1261 static BOOL CALLBACK dsoundDevicesEnumCbPlayback(LPGUID lpGUID, LPCWSTR lpwstrDescription,
    1262                                                  LPCWSTR lpwstrModule, PVOID lpContext)
     1260static BOOL CALLBACK dsoundDevicesEnumCbPlayback(LPGUID lpGUID, LPCWSTR lpwstrDescription, LPCWSTR lpwstrModule, PVOID lpContext)
    12631261{
    12641262    PDSOUNDENUMCBCTX pCtx = (PDSOUNDENUMCBCTX)lpContext;
     
    12851283}
    12861284
    1287 static BOOL CALLBACK dsoundDevicesEnumCbCapture(LPGUID lpGUID, LPCWSTR lpwstrDescription,
    1288                                                 LPCWSTR lpwstrModule, PVOID lpContext)
     1285static BOOL CALLBACK dsoundDevicesEnumCbCapture(LPGUID lpGUID, LPCWSTR lpwstrDescription, LPCWSTR lpwstrModule, PVOID lpContext)
    12891286{
    12901287    PDSOUNDENUMCBCTX pCtx = (PDSOUNDENUMCBCTX)lpContext;
     
    13701367 * @param   fEnum               Enumeration flags.
    13711368 */
    1372 void dsoundUpdateStatusInternalEx(PDRVHOSTDSOUND pThis, PPDMAUDIOBACKENDCFG pCfg, uint32_t fEnum)
     1369static void dsoundUpdateStatusInternalEx(PDRVHOSTDSOUND pThis, PPDMAUDIOBACKENDCFG pCfg, uint32_t fEnum)
    13731370{
    13741371    AssertPtrReturnVoid(pThis);
     
    14101407}
    14111408
    1412 void dsoundUpdateStatusInternal(PDRVHOSTDSOUND pThis)
     1409static void dsoundUpdateStatusInternal(PDRVHOSTDSOUND pThis)
    14131410{
    14141411    dsoundUpdateStatusInternalEx(pThis, NULL /* pCfg */, 0 /* fEnum */);
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