Changeset 105605 in vbox for trunk/src/VBox/Main/src-client/Recording.cpp
- Timestamp:
- Aug 6, 2024 2:00:56 PM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/Recording.cpp
r105436 r105605 239 239 * @param pProgress Where to return the created progress object on success. 240 240 */ 241 int RecordingContext::progressCreate(const settings::Recording Settings&Settings, ComObjPtr<Progress> &pProgress)241 int RecordingContext::progressCreate(const settings::Recording &Settings, ComObjPtr<Progress> &pProgress) 242 242 { 243 243 /* Determine the number of operations the recording progress has. … … 249 249 while (itScreen != Settings.mapScreens.end()) 250 250 { 251 settings::RecordingScreen Settingsconst &screenSettings = itScreen->second;251 settings::RecordingScreen const &screenSettings = itScreen->second; 252 252 if (screenSettings.ulMaxTimeS == 0) 253 253 { … … 671 671 * @param screenSettings Reference to recording screen settings to use for initialization. 672 672 */ 673 int RecordingContext::audioInit(const settings::RecordingScreen Settings&screenSettings)673 int RecordingContext::audioInit(const settings::RecordingScreen &screenSettings) 674 674 { 675 675 RecordingAudioCodec_T const enmCodec = screenSettings.Audio.enmCodec; … … 754 754 * @param pProgress Progress object returned on success. 755 755 */ 756 int RecordingContext::createInternal(Console *ptrConsole, const settings::Recording Settings&Settings,756 int RecordingContext::createInternal(Console *ptrConsole, const settings::Recording &Settings, 757 757 ComPtr<IProgress> &pProgress) 758 758 { … … 767 767 768 768 /* We always use the audio settings from screen 0, as we multiplex the audio data anyway. */ 769 settings::RecordingScreen Settingsconst &screen0Settings = itScreen0->second;769 settings::RecordingScreen const &screen0Settings = itScreen0->second; 770 770 771 771 vrc = this->audioInit(screen0Settings); … … 992 992 * @returns The recording context's current settings. 993 993 */ 994 const settings::Recording Settings&RecordingContext::GetConfig(void) const994 const settings::Recording &RecordingContext::GetConfig(void) const 995 995 { 996 996 return m_Settings; … … 1072 1072 * @param pProgress Progress object returned on success. 1073 1073 */ 1074 int RecordingContext::Create(Console *ptrConsole, const settings::Recording Settings&Settings, ComPtr<IProgress> &pProgress)1074 int RecordingContext::Create(Console *ptrConsole, const settings::Recording &Settings, ComPtr<IProgress> &pProgress) 1075 1075 { 1076 1076 return createInternal(ptrConsole, Settings, pProgress);
Note:
See TracChangeset
for help on using the changeset viewer.