View Issue Details

IDProjectCategoryView StatusLast Update
0000292OpenMPTGeneralpublic2013-11-16 01:24
Reportercalebddd Assigned ToSaga Musix  
PrioritylowSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSWindowsOS VersionXP
Product VersionOpenMPT 1.20.02.00 (upgrade first) 
Target VersionOpenMPT 1.22.06.00 (upgrade first)Fixed in VersionOpenMPT 1.22.06.00 (upgrade first) 
Summary0000292: Opening file while current song is still playing freezes song.
Description

When a song is playing, and a new file is opened from the file menu, the one currently playing will repeat that last few milliseconds over and over until the other file is completely loaded. It locks up longer when VST instruments are being loaded that weren't in any other songs in the current session.

Steps To Reproduce
  1. Have a song open and instruments being used.
  2. Click play
  3. File > Open and choose any song
  4. Frozen
Additional Information

The songs that are being opened are accessed from a different drive.

I think this can be fixed by automatically pausing the song on open and once it is finished loading, continue playing the song.

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

Activities

Saga Musix

Saga Musix

2012-08-18 19:03

administrator   ~0000859

And the bug here is...? I wouldn't really consider "Audio thread is starving from CPU and can't serve new audio" a bug.

Saga Musix

Saga Musix

2012-08-20 13:19

administrator   ~0000860

By the way, it depends on the sound driver if the audio begins to repeat or simply drop out when there's a buffer underrun.

Saga Musix

Saga Musix

2013-10-27 00:37

administrator   ~0001369

In the case of dropouts caused by plugins being loaded, this has been addressed now: http://sagagames.de/stuff/mptrack.exe - Any other delays caused by e.g. a slow hard disk causing the CPU to starve cannot be fixed, sadly.

Issue History

Date Modified Username Field Change
2012-08-18 18:44 calebddd New Issue
2012-08-18 19:03 Saga Musix Note Added: 0000859
2012-08-20 13:19 Saga Musix Note Added: 0000860
2013-10-27 00:37 Saga Musix Note Added: 0001369
2013-10-27 00:37 Saga Musix Assigned To => Saga Musix
2013-10-27 00:37 Saga Musix Status new => feedback
2013-11-16 01:24 Saga Musix Status feedback => resolved
2013-11-16 01:24 Saga Musix Resolution open => fixed
2013-11-16 01:24 Saga Musix Fixed in Version => OpenMPT 1.22.06.00 (upgrade first)
2013-11-16 01:24 Saga Musix Target Version => OpenMPT 1.22.06.00 (upgrade first)