Changeset 75396 in vbox for trunk/include
- Timestamp:
- Nov 12, 2018 12:13:23 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/settings.h
r75380 r75396 498 498 bool operator==(const RecordingScreenSettings &d) const; 499 499 500 /** Whether to record this screen or not. */ 500 501 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. */ 503 507 uint32_t ulMaxTimeS; // requires settings version 1.14 (VirtualBox 4.3) 508 /** Options string for hidden / advanced / experimental features. */ 504 509 com::Utf8Str strOptions; // new since VirtualBox 5.2. 505 510 511 /** 512 * Structure holding settings for audio recording. 513 */ 506 514 struct Audio 507 515 { … … 513 521 514 522 /** 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. */ 516 524 /** Hz rate. */ 517 uint16_t uHz; / / new since VirtualBox 6.0.525 uint16_t uHz; /** @todo Implement with next settings version bump. */ 518 526 /** Bits per sample. */ 519 uint8_t cBits; / / new since VirtualBox 6.0.527 uint8_t cBits; /** @todo Implement with next settings version bump. */ 520 528 /** Number of audio channels. */ 521 uint8_t cChannels; / / new since VirtualBox 6.0.529 uint8_t cChannels; /** @todo Implement with next settings version bump. */ 522 530 } Audio; 523 531 532 /** 533 * Structure holding settings for video recording. 534 */ 524 535 struct Video 525 536 { … … 531 542 , ulFPS(25) { } 532 543 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). */ 534 547 uint32_t ulWidth; // requires settings version 1.14 (VirtualBox 4.3) 548 /** Target frame height in pixels (Y). */ 535 549 uint32_t ulHeight; // requires settings version 1.14 (VirtualBox 4.3) 550 /** Encoding rate. */ 536 551 uint32_t ulRate; // requires settings version 1.14 (VirtualBox 4.3) 552 /** Frames per second (FPS). */ 537 553 uint32_t ulFPS; // requires settings version 1.14 (VirtualBox 4.3) 538 554 } Video; 539 555 556 /** 557 * Structure holding settings if the destination is a file. 558 */ 540 559 struct File 541 560 { … … 543 562 : ulMaxSizeMB(0) { } 544 563 564 /** Maximum size (in MB) the file is allowed to have. 565 * When reaching the limit, recording will stop. */ 545 566 uint32_t ulMaxSizeMB; // requires settings version 1.14 (VirtualBox 4.3) 567 /** Absolute file name path to use for recording. */ 546 568 com::Utf8Str strName; // requires settings version 1.14 (VirtualBox 4.3) 547 569 } File; 548 570 }; 549 571 550 /** Map for keeping settings per virtual screen. */ 572 /** Map for keeping settings per virtual screen. 573 * The key specifies the screen ID. */ 551 574 typedef std::map<uint32_t, RecordingScreenSettings> RecordingScreenMap; 552 575 … … 566 589 bool operator==(const RecordingSettings &d) const; 567 590 591 /** Whether recording as a whole is enabled or disabled. */ 568 592 bool fEnabled; // requires settings version 1.14 (VirtualBox 4.3) 593 /** Map of handled recording screen settings. 594 * The key specifies the screen ID. */ 569 595 RecordingScreenMap mapScreens; 570 596 };
Note:
See TracChangeset
for help on using the changeset viewer.