2022-05-11 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in the 'Edit Audio' dialog that caused the positions
	of the FadeUp and FadeDown markers to be transposed when loading
	from and saving to the database.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-05-11 12:52:50 -04:00
parent e53242c53a
commit e2fbdf4d33
3 changed files with 8 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
//
// Audio player for RDMarkerDialog
//
// (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2021-2022 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
@@ -248,8 +248,8 @@ bool RDMarkerPlayer::setCut(unsigned cartnum,int cutnum)
"`SEGUE_END_POINT`,"+ // 05
"`HOOK_START_POINT`,"+ // 06
"`HOOK_END_POINT`,"+ // 07
"`FADEUP_POINT`,"+ // 08
"`FADEDOWN_POINT`,"+ // 09
"`FADEDOWN_POINT`,"+ // 08
"`FADEUP_POINT`,"+ // 09
"`SEGUE_GAIN`,"+ // 10
"`PLAY_GAIN` "+ // 11
"from `CUTS` where "+

View File

@@ -382,8 +382,8 @@ RDMarkerView::RDMarkerView(int width,int height,QWidget *parent)
d_pointer_fields.push_back("`SEGUE_END_POINT`");
d_pointer_fields.push_back("`HOOK_START_POINT`");
d_pointer_fields.push_back("`HOOK_END_POINT`");
d_pointer_fields.push_back("`FADEUP_POINT`");
d_pointer_fields.push_back("`FADEDOWN_POINT`");
d_pointer_fields.push_back("`FADEUP_POINT`");
//
// The Main Mouse Menu