VirtualBox

Changeset 56516 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jun 18, 2015 12:34:47 PM (10 years ago)
Author:
vboxsync
Message:

Main: Save audio codec settings (see #7902).

File:
1 edited

Legend:

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

    r56459 r56516  
    3333        mEnabled(false),
    3434        mAudioDriver(AudioDriverType_Null),
    35         mAudioController(AudioControllerType_AC97)
     35        mAudioController(AudioControllerType_AC97),
     36        mAudioCodec(AudioCodecType_STAC9700)
    3637    {}
    3738
     
    507508    mData->m->mEnabled = data.fEnabled;
    508509    mData->m->mAudioController = data.controllerType;
     510    mData->m->mAudioCodec = data.codecType;
    509511    mData->m->mAudioDriver = data.driverType;
    510512
     
    535537    data.fEnabled = !!mData->m->mEnabled;
    536538    data.controllerType = mData->m->mAudioController;
     539    data.codecType = mData->m->mAudioCodec;
    537540    data.driverType = mData->m->mAudioDriver;
    538541
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