VirtualBox

Changeset 60990 in vbox


Ignore:
Timestamp:
May 15, 2016 5:58:13 PM (9 years ago)
Author:
vboxsync
Message:

DrvAudio.cpp: Replaced the generic VERR_NO_MORE_HANDLES with a dedicated one (VERR_AUDIO_NO_FREE_INPUT_STREAMS). This error occurs here with a default win8.1 config.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/err.h

    r60847 r60990  
    27432743 *  NULL audio driver. */
    27442744#define VERR_AUDIO_BACKEND_INIT_FAILED              (-6600)
     2745/** No free input streams.  */
     2746#define VERR_AUDIO_NO_FREE_INPUT_STREAMS            (-6601)
    27452747/** @} */
    27462748
  • trunk/src/VBox/Devices/Audio/DrvAudio.cpp

    r60925 r60990  
    845845    {
    846846        LogFlowFunc(("No more input streams free to use, bailing out\n"));
    847         return VERR_NO_MORE_HANDLES;
     847        return VERR_AUDIO_NO_FREE_INPUT_STREAMS;
    848848    }
    849849
     
    866866    int rc;
    867867
    868     do
     868    do /* goto avoidance */
    869869    {
    870870        uint32_t cSamples = 0;
    871871        rc = pThis->pHostDrvAudio->pfnInitIn
    872872           ? pThis->pHostDrvAudio->pfnInitIn(pThis->pHostDrvAudio, pHstStrmIn,
    873                                              pCfg, pCfg->DestSource.Source, &cSamples) : VINF_SUCCESS;
     873                                             pCfg, pCfg->DestSource.Source, &cSamples)
     874           : VINF_SUCCESS;
    874875        if (RT_FAILURE(rc))
    875876        {
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