Changeset 96176 in vbox
- Timestamp:
- Aug 12, 2022 2:20:09 PM (2 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/RecordingInternals.h
r96175 r96176 444 444 typedef std::list<RecordingBlock *> RecordingBlockList; 445 445 446 #ifdef VBOX_WITH_AUDIO_RECORDING447 446 int recordingCodecCreateAudio(PRECORDINGCODEC pCodec, RecordingAudioCodec_T enmAudioCodec); 448 #endif449 447 int recordingCodecCreateVideo(PRECORDINGCODEC pCodec, RecordingVideoCodec_T enmVideoCodec); 450 448 int recordingCodecInit(const PRECORDINGCODEC pCodec, const PRECORDINGCODECCALLBACKS pCallbacks, const settings::RecordingScreenSettings &Settings); -
trunk/src/VBox/Main/include/RecordingStream.h
r96175 r96176 126 126 uint16_t GetID(void) const { return this->uScreenID; }; 127 127 #ifdef VBOX_WITH_AUDIO_RECORDING 128 constPRECORDINGCODEC GetAudioCodec(void) { return &this->CodecAudio; };128 PRECORDINGCODEC GetAudioCodec(void) { return &this->CodecAudio; }; 129 129 #endif 130 constPRECORDINGCODEC GetVideoCodec(void) { return &this->CodecVideo; };130 PRECORDINGCODEC GetVideoCodec(void) { return &this->CodecVideo; }; 131 131 bool IsLimitReached(uint64_t msTimestamp) const; 132 132 bool IsReady(void) const; … … 195 195 uint64_t tsStartMs; 196 196 197 #ifdef VBOX_WITH_AUDIO_RECORDING198 197 /** Audio codec instance data to use. */ 199 198 RECORDINGCODEC CodecAudio; 200 #endif201 199 /** Video codec instance data to use. */ 202 200 RECORDINGCODEC CodecVideo; -
trunk/src/VBox/Main/src-client/RecordingCodec.cpp
r96175 r96176 535 535 *********************************************************************************************************************************/ 536 536 537 #ifdef VBOX_WITH_AUDIO_RECORDING538 537 /** 539 538 * Initializes an audio codec. … … 595 594 return vrc; 596 595 } 597 #endif /* VBOX_WITH_AUDIO_RECORDING */598 596 599 597 /** … … 649 647 650 648 #ifdef VBOX_WITH_AUDIO_RECORDING 651 /** s649 /** 652 650 * Lets an audio codec parse advanced options given from a string. 653 651 * … … 686 684 return VINF_SUCCESS; 687 685 } 686 #endif 688 687 689 688 /** … … 740 739 return vrc; 741 740 } 742 #endif /* VBOX_WITH_AUDIO_RECORDING */743 741 744 742 /**
Note:
See TracChangeset
for help on using the changeset viewer.