VirtualBox

Changeset 70036 in vbox


Ignore:
Timestamp:
Dec 8, 2017 4:52:18 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119573
Message:

Build fix.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r70035 r70036  
    55185518
    55195519            const PVIDEORECCFG pCfg = pDisplay->i_videoRecGetConfig();
     5520# ifdef VBOX_WITH_AUDIO_VIDEOREC
    55205521            const unsigned     uLUN = pCfg->Audio.uLUN; /* Get the currently configured LUN. */
    5521 
     5522# else
     5523            const unsigned     uLUN = 0;
     5524# endif
    55225525            int vrc = VMR3ReqCallWaitU(ptrVM.rawUVM(), VMCPUID_ANY /*idDstCpu*/,
    55235526                                       (PFNRT)Display::i_videoRecConfigure, 4,
    5524                                        pDisplay, pCfg, true /* fAttachDetach */, &pCfg->Audio.uLUN);
     5527                                       pDisplay, pCfg, true /* fAttachDetach */, &uLUN);
    55255528            if (RT_SUCCESS(vrc))
    55265529            {
    55275530                /* Make sure to acquire the lock again after we're done running in EMT. */
    55285531                alock.acquire();
    5529 
    5530                 /* We don't support dynamic LUNs for this stuff yet. */
    5531                 Assert(uLUN == pCfg->Audio.uLUN);
    55325532
    55335533                if (!mDisplay->i_videoRecStarted())
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r70035 r70036  
    26452645    } /* while */
    26462646
     2647    unsigned uLUN = *puLUN;
     2648
    26472649#ifdef VBOX_WITH_AUDIO_VIDEOREC
    26482650    ComPtr<IAudioAdapter> audioAdapter;
     
    26512653
    26522654    unsigned uInstance = 0;
    2653     unsigned uLUN      = *puLUN;
    26542655
    26552656    Utf8Str strAudioDev = pThis->mParent->i_getAudioAdapterDeviceName(audioAdapter);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette