Changeset 95743 in vbox for trunk/include
- Timestamp:
- Jul 20, 2022 9:32:46 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/settings.h
r95639 r95743 624 624 typedef std::map<RecordingFeature_T, bool> RecordingFeatureMap; 625 625 626 /** 627 * Recording settings for a single screen (e.g. virtual monitor). 628 */ 626 629 struct RecordingScreenSettings 627 630 { … … 657 660 struct Audio 658 661 { 659 Audio()660 : enmAudioCodec(RecordingAudioCodec_Opus)661 , uHz(22050)662 , cBits(16)663 , cChannels(2) { }664 665 662 /** The audio codec type to use. */ 666 RecordingAudioCodec_T enmAudioCodec; /** @todo Implement with next settings version bump. */ 663 RecordingAudioCodec_T enmAudioCodec; // requires settings version 1.19 (VirtualBox 7.0) 664 /** Codec deadline to use. */ 665 RecordingCodecDeadline_T enmDeadline; // requires settings version 1.19 (VirtualBox 7.0) 667 666 /** Hz rate. */ 668 uint16_t uHz; /** @todo Implement with next settings version bump. */667 uint16_t uHz; // requires settings version 1.19 (VirtualBox 7.0) 669 668 /** Bits per sample. */ 670 uint8_t cBits; /** @todo Implement with next settings version bump. */669 uint8_t cBits; // requires settings version 1.19 (VirtualBox 7.0) 671 670 /** Number of audio channels. */ 672 uint8_t cChannels; /** @todo Implement with next settings version bump. */671 uint8_t cChannels; // requires settings version 1.19 (VirtualBox 7.0) 673 672 } Audio; 674 673 … … 678 677 struct Video 679 678 { 680 Video()681 : enmCodec(RecordingVideoCodec_VP8)682 , ulWidth(1024)683 , ulHeight(768)684 , ulRate(512)685 , ulFPS(25) { }686 687 679 /** The codec to use. */ 688 RecordingVideoCodec_T enmCodec; /** @todo Implement with next settings version bump. */ 680 RecordingVideoCodec_T enmCodec; // requires settings version 1.19 (VirtualBox 7.0) 681 /** Codec deadline to use. */ 682 RecordingCodecDeadline_T enmDeadline; // requires settings version 1.19 (VirtualBox 7.0) 689 683 /** Target frame width in pixels (X). */ 690 uint32_t ulWidth;// requires settings version 1.14 (VirtualBox 4.3)684 uint32_t ulWidth; // requires settings version 1.14 (VirtualBox 4.3) 691 685 /** Target frame height in pixels (Y). */ 692 uint32_t ulHeight;// requires settings version 1.14 (VirtualBox 4.3)686 uint32_t ulHeight; // requires settings version 1.14 (VirtualBox 4.3) 693 687 /** Encoding rate. */ 694 uint32_t ulRate;// requires settings version 1.14 (VirtualBox 4.3)688 uint32_t ulRate; // requires settings version 1.14 (VirtualBox 4.3) 695 689 /** Frames per second (FPS). */ 696 uint32_t ulFPS;// requires settings version 1.14 (VirtualBox 4.3)690 uint32_t ulFPS; // requires settings version 1.14 (VirtualBox 4.3) 697 691 } Video; 698 692 … … 702 696 struct File 703 697 { 704 File()705 : ulMaxSizeMB(0) { }706 707 698 /** Maximum size (in MB) the file is allowed to have. 708 699 * When reaching the limit, recording will stop. 0 means no limit. */
Note:
See TracChangeset
for help on using the changeset viewer.