View Issue Details

IDProjectCategoryView StatusLast Update
0000824OpenMPTlibopenmptpublic2016-10-20 08:02
Reportermanx Assigned Tomanx  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product VersionOpenMPT 1.26.02.* (old testing) 
Target VersionOpenMPT 1.?? (libopenmpt 1.0) (goals)Fixed in VersionOpenMPT 1.27.01.00 / libopenmpt 0.3.1 (upgrade first) 
Summary0000824: Add openmpt::module::get_selected_subsong()
Description

Add openmpt::module::get_selected_subsong() in addition to openmpt::module::select_subsong().

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2016-06-30 18:00

administrator   ~0002492

should it really be "selected" compared to "get" as in e.g. get_current_row/get_current_pattern?

manx

manx

2016-06-30 18:07

administrator   ~0002493

Yes, I think it should as we probably do not want to track the subsong number in allsubsongs mode, thus, get_CURRENT_subsong would be completely misleading in that case.
Additionally, getting the selected subsong allows determining whether a potential future subsong heuristic has chosen subsong -1 or 0 as default.
We might also add get_current_subsong, IFF we can provide the correct answer also in allsubsongs mode.

manx

manx

2016-10-20 08:02

administrator   ~0002701

r7283

Issue History

Date Modified Username Field Change
2016-06-30 11:58 manx New Issue
2016-06-30 11:58 manx Status new => assigned
2016-06-30 11:58 manx Assigned To => manx
2016-06-30 18:00 Saga Musix Note Added: 0002492
2016-06-30 18:07 manx Note Added: 0002493
2016-10-20 08:02 manx Status assigned => resolved
2016-10-20 08:02 manx Resolution open => fixed
2016-10-20 08:02 manx Fixed in Version => OpenMPT 1.27.01.00 / libopenmpt 0.3.1 (upgrade first)
2016-10-20 08:02 manx Note Added: 0002701