VirtualBox

Changeset 75396 in vbox for trunk/include


Ignore:
Timestamp:
Nov 12, 2018 12:13:23 PM (6 years ago)
Author:
vboxsync
Message:

Recording/Main: Docs.

File:
1 edited

Legend:

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

    r75380 r75396  
    498498    bool operator==(const RecordingScreenSettings &d) const;
    499499
     500    /** Whether to record this screen or not. */
    500501    bool                   fEnabled;   // requires settings version 1.14 (VirtualBox 4.3)
    501     RecordingDestination_T enmDest;    // new since VirtualBox 6.0.
    502     RecordingFeatureMap    featureMap; // new since VirtualBox 6.0.
     502    /** Destination to record to. */
     503    RecordingDestination_T enmDest;    /** @todo Implement with next settings version bump. */
     504    /** Which features are enable or not. */
     505    RecordingFeatureMap    featureMap; /** @todo Implement with next settings version bump. */
     506    /** Maximum time (in s) to record. If set to 0, no time limit is set. */
    503507    uint32_t               ulMaxTimeS; // requires settings version 1.14 (VirtualBox 4.3)
     508    /** Options string for hidden / advanced / experimental features. */
    504509    com::Utf8Str           strOptions; // new since VirtualBox 5.2.
    505510
     511    /**
     512     * Structure holding settings for audio recording.
     513     */
    506514    struct Audio
    507515    {
     
    513521
    514522        /** The audio codec type to use. */
    515         RecordingAudioCodec_T enmAudioCodec; // new since VirtualBox 6.0.
     523        RecordingAudioCodec_T enmAudioCodec; /** @todo Implement with next settings version bump. */
    516524        /** Hz rate. */
    517         uint16_t              uHz;           // new since VirtualBox 6.0.
     525        uint16_t              uHz;           /** @todo Implement with next settings version bump. */
    518526        /** Bits per sample. */
    519         uint8_t               cBits;         // new since VirtualBox 6.0.
     527        uint8_t               cBits;         /** @todo Implement with next settings version bump. */
    520528        /** Number of audio channels. */
    521         uint8_t               cChannels;     // new since VirtualBox 6.0.
     529        uint8_t               cChannels;     /** @todo Implement with next settings version bump. */
    522530    } Audio;
    523531
     532    /**
     533     * Structure holding settings for video recording.
     534     */
    524535    struct Video
    525536    {
     
    531542            , ulFPS(25) { }
    532543
    533         RecordingVideoCodec_T enmCodec;  // new since VirtualBox 6.0.
     544        /** The codec to use. */
     545        RecordingVideoCodec_T enmCodec;  /** @todo Implement with next settings version bump. */
     546        /** Target frame width in pixels (X). */
    534547        uint32_t              ulWidth;   // requires settings version 1.14 (VirtualBox 4.3)
     548        /** Target frame height in pixels (Y). */
    535549        uint32_t              ulHeight;  // requires settings version 1.14 (VirtualBox 4.3)
     550        /** Encoding rate. */
    536551        uint32_t              ulRate;    // requires settings version 1.14 (VirtualBox 4.3)
     552        /** Frames per second (FPS). */
    537553        uint32_t              ulFPS;     // requires settings version 1.14 (VirtualBox 4.3)
    538554    } Video;
    539555
     556    /**
     557     * Structure holding settings if the destination is a file.
     558     */
    540559    struct File
    541560    {
     
    543562            : ulMaxSizeMB(0) { }
    544563
     564        /** Maximum size (in MB) the file is allowed to have.
     565         *  When reaching the limit, recording will stop. */
    545566        uint32_t     ulMaxSizeMB; // requires settings version 1.14 (VirtualBox 4.3)
     567        /** Absolute file name path to use for recording. */
    546568        com::Utf8Str strName;     // requires settings version 1.14 (VirtualBox 4.3)
    547569    } File;
    548570};
    549571
    550 /** Map for keeping settings per virtual screen. */
     572/** Map for keeping settings per virtual screen.
     573 *  The key specifies the screen ID. */
    551574typedef std::map<uint32_t, RecordingScreenSettings> RecordingScreenMap;
    552575
     
    566589    bool operator==(const RecordingSettings &d) const;
    567590
     591    /** Whether recording as a whole is enabled or disabled. */
    568592    bool               fEnabled;       // requires settings version 1.14 (VirtualBox 4.3)
     593    /** Map of handled recording screen settings.
     594     *  The key specifies the screen ID. */
    569595    RecordingScreenMap mapScreens;
    570596};
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