VirtualBox

Changeset 74905 in vbox for trunk


Ignore:
Timestamp:
Oct 18, 2018 8:06:37 AM (6 years ago)
Author:
vboxsync
Message:

VideoRec/Main: Use the medium audio recording profile as default.

File:
1 edited

Legend:

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

    r74413 r74905  
    24812481#ifdef VBOX_WITH_AUDIO_VIDEOREC
    24822482    mVideoRecCfg.Audio.fEnabled  = false; /* Disabled by default, unless set otherwise below. */
    2483     /* By default we use 48kHz, 16-bit, stereo for the audio track. */
    2484     mVideoRecCfg.Audio.uHz       = 48000;
     2483    /* By default we use 22,5kHz, 16-bit, stereo for the audio track. */
     2484    mVideoRecCfg.Audio.uHz       = 22050;
    24852485    mVideoRecCfg.Audio.cBits     = 16;
    24862486    mVideoRecCfg.Audio.cChannels = 2;
     
    25442544            else if (value.startsWith("med" /* "med[ium]" */, Utf8Str::CaseInsensitive) == 0)
    25452545            {
    2546                 mVideoRecCfg.Audio.uHz       = 22050;
    2547                 mVideoRecCfg.Audio.cBits     = 16;
    2548                 mVideoRecCfg.Audio.cChannels = 2;
     2546                /* Stay with the default set above. */
    25492547            }
    25502548            else if (value.compare("high", Utf8Str::CaseInsensitive) == 0)
    25512549            {
    2552                 /* Stay with the default set above. */
     2550                mVideoRecCfg.Audio.uHz       = 48000;
     2551                mVideoRecCfg.Audio.cBits     = 16;
     2552                mVideoRecCfg.Audio.cChannels = 2;
    25532553            }
    25542554#endif
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