View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000485 | OpenMPT | General | public | 2014-02-13 16:14 | 2014-02-14 21:06 |
Reporter | LPChip | Assigned To | manx | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x64 | OS | Windows | OS Version | 7 |
Product Version | OpenMPT 1.22.07.* (old testing) | ||||
Fixed in Version | OpenMPT 1.23.01.00 (upgrade first) | ||||
Summary | 0000485: ASIO Device not stopping if hijacked | ||||
Description | If you select OpenMPT to keep the ASIO device open, and then you play sound through another device, such as XMPlay, the ASIO device gets hijacked. The other program then uses the sound and it all works without errors. OpenMPT however won't generate any sound anymore until the device is reopened. Closing XMPlay does free the device but does not make OpenMPT get the sound back. Once hijacked OpenMPT does not reinitialise the device. In order to fix it, I have to open my settings, change the ASIO device to play on another channel mapping, hit apply and bam, I have audio again. Alternatively, I change another setting that allows me to hit apply, such as the playback frequency. It is strange though, because I should be able to just set a different channel mapping and should be able to have 2 programs use ASIO at the same time. This does work when I use EnergyXT 2.6 and XMPlay at the same time. Then again, Regardless of what channel I use, EnergyXT and XMPlay both using ASIO always work. Even stranger: I play in XMPlay first using ASIO to channel 3. Then I start playing in OpenMPT after I set ASIO there. XMPlay stops playing and OpenMPT works. I stop OpenMPT playback, XMPlay hijacks the soundcard again and OpenMPT is left with sound. The exact same happens if I test this using EnergyXT and OpenMPT. So as far as I can tell, the problem is that OpenMPT tries to claim the ASIO device while it shouldn't need to do this. | ||||
Steps To Reproduce |
| ||||
Tags | No tags attached. | ||||
Has the bug occurred in previous versions? | All, except when you don't check always keep open, its not as bad. | ||||
Tested code revision (in case you know it) | |||||
I just saw that there's a checkbox "Use device exclusively" but its grayed out. I think if you allow me to unckeck it, it would solve my problem. I do think that not all ASIO devices can be used simultaniously though, but Creatives ASIO device can. |
|
I've done a little bit of more research and it seems that Creative is one of the few who actually have ASIO in non-exclusive mode. |
|
Regarding the disabled but checked checkbox: This might have happend when converting old global sound device settings to per-device settings. This is just a GUI glitch and is now fixed as of r3709. |
|
It seems my problem happened because I had set OpenMPT to 48000 hz playback frequency, while the rest uses 44100 hz. When I set OpenMPT to this too, all works well. So for me this is solved. Though that doesn't mean it works properly. OpenMPT just doesn't get priority at all nor does it display an error if it can't get access to the sounddevice when in use somewhere else. |
|
The way ASIO drivers behave in the case of multiple applications using the same ASIO driver or even using the device with some other API while another application is using ASIO, is totally driver specific, so I cannot really comment on what to expect from your particular driver in that case. |
|
I've tried it out, and as far as OpenMPT concerned, there's just no audio, but OpenMPT doesn't seem to realise that stopped working. As seeing works much better than reading, here's a short video presentation of what I experience: http://www.youtube.com/watch?v=BKnPWgJgR-c |
|
Tried your new version and I have to say, it works perfectly. OpenMPT is now exactly behaving like XMPlay and EnergyXT. You may call this fixed, solved, completed, mission accomplished, etc. :D |
|
The has been committed as r3714 . |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-02-13 16:14 | LPChip | New Issue | |
2014-02-13 16:22 | LPChip | Note Added: 0001515 | |
2014-02-13 16:23 | LPChip | Description Updated | |
2014-02-13 16:39 | manx | Assigned To | => manx |
2014-02-13 16:39 | manx | Status | new => assigned |
2014-02-13 16:47 | LPChip | Note Added: 0001516 | |
2014-02-13 16:55 | manx | Note Added: 0001517 | |
2014-02-13 18:52 | LPChip | Note Added: 0001518 | |
2014-02-13 18:53 | LPChip | Note Edited: 0001518 | |
2014-02-13 19:17 | manx | Note Added: 0001519 | |
2014-02-14 00:52 | LPChip | Note Added: 0001521 | |
2014-02-14 13:28 | LPChip | Note Added: 0001522 | |
2014-02-14 21:06 | manx | Note Added: 0001528 | |
2014-02-14 21:06 | manx | Status | assigned => resolved |
2014-02-14 21:06 | manx | Fixed in Version | => OpenMPT 1.23.01.00 (upgrade first) |
2014-02-14 21:06 | manx | Resolution | open => fixed |