View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001211 | OpenMPT | User Interface | public | 2019-03-05 04:51 | 2019-03-05 07:40 |
| Reporter | funute | Assigned To | manx | ||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | wine-4.2 | OS | Arch Linux | OS Version | Linux 4.20.13 |
| Product Version | OpenMPT 1.28.03.00 / libopenmpt 0.4.3 (upgrade first) | ||||
| Fixed in Version | OpenMPT 1.28.04.00 / libopenmpt 0.4.4 (upgrade first) | ||||
| Summary | 0001211: RtAudio option in OpenMPT Setup Wine dialog uses value for PortAudio option | ||||
| Description | Found this issue while messing around with the dialog in looking at https://bugs.openmpt.org/view.php?id=1210. The option for RtAudio is set to the option for PortAudio whenever opening the dialog. (I think the value is still saved to whatever it's set to when you OK/Apply out of the dialog, but not sure.) I've attached a patch which I think should fix the issue, haven't tested or confirmed it for myself since I don't think I can build a mptrack Windows binary from Linux. | ||||
| Steps To Reproduce |
| ||||
| Tags | No tags attached. | ||||
| Attached Files | patch.diff (600 bytes)
Index: mptrack/Mpdlgs.cpp
===================================================================
--- mptrack/Mpdlgs.cpp (revision 11422)
+++ mptrack/Mpdlgs.cpp (working copy)
@@ -1862,7 +1862,7 @@
index = m_CbnRtAudio.AddString(_T("Disabled")); m_CbnRtAudio.SetItemData(index, 0);
for(index = 0; index < 3; ++index)
{
- if(m_CbnRtAudio.GetItemData(index) == static_cast<uint32>(TrackerSettings::Instance().WineSupportEnablePortAudio))
+ if(m_CbnRtAudio.GetItemData(index) == static_cast<uint32>(TrackerSettings::Instance().WineSupportEnableRtAudio))
{
m_CbnRtAudio.SetCurSel(index);
}
| ||||
| Has the bug occurred in previous versions? | Unsure | ||||
| Tested code revision (in case you know it) | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-03-05 04:51 | funute | New Issue | |
| 2019-03-05 04:51 | funute | File Added: patch.diff | |
| 2019-03-05 07:31 | manx | Assigned To | => manx |
| 2019-03-05 07:31 | manx | Status | new => assigned |
| 2019-03-05 07:40 | manx | Status | assigned => resolved |
| 2019-03-05 07:40 | manx | Resolution | open => fixed |
| 2019-03-05 07:40 | manx | Fixed in Version | => OpenMPT 1.28.04.00 / libopenmpt 0.4.4 (upgrade first) |
| 2019-03-05 07:40 | manx | Note Added: 0003888 |