VirtualBox

Ignore:
Timestamp:
Jun 29, 2022 11:13:40 AM (2 years ago)
Author:
vboxsync
Message:

Audio/Main: Bigger revamp of the audio interface(s) to later also support host audio device enumeration and selection for individual VMs. The audio settings now live in a dedicated (per-VM) IAudioSettings interface (audio adapter + audio host device stuff), to further tidy up the IMachine interface. Also added stubs for IAudioDevice + IHostAudioDevice, plus enmuerations, left for further implementation. Added a new IHostAudioDeviceChangedEvent that can also be used later by API clients. bugref:10050

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/SnapshotImpl.cpp

    r94864 r95423  
    11881188    if (FAILED(rc)) return rc;
    11891189
    1190     unconst(mAudioAdapter).createObject();
    1191     rc = mAudioAdapter->initCopy(this, pMachine->mAudioAdapter);
     1190    unconst(mAudioSettings).createObject();
     1191    rc = mAudioSettings->initCopy(this, pMachine->mAudioSettings);
    11921192    if (FAILED(rc)) return rc;
    11931193
     
    13211321    mVRDEServer->init(this);
    13221322
    1323     unconst(mAudioAdapter).createObject();
    1324     mAudioAdapter->init(this);
     1323    unconst(mAudioSettings).createObject();
     1324    mAudioSettings->init(this);
    13251325
    13261326    unconst(mUSBDeviceFilters).createObject();
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