Files
lmms/include
Vesa bad08a2632 Ensure that NotePlayHandles get processed before the InstrumentPlayHandle on instruments that use both NotePlayHandles and InstrumentPlayHandle, such as LB302 and SF2-Player
Issue: Currently, we use threads to process all PlayHandles, so there's no guarantee of the order they are processed in. This causes timing inaccuracy and jitter: notes of instruments that use both NPH's and IPH's can get randomly delayed by one entire period.
The issue is solved thusly:
- When processing an IPH, we check if the instrument is midi-based. If yes, we just process it normally (no NPH's to worry about).
- If it's not, then it also uses NPH's, so we'll have the IPH wait until all NPH's belonging to same instrument have been processed. There's some similar code in the new FX mixer, I pretty much just copied how we do it there.
2014-06-06 14:24:51 +03:00
..
2008-10-19 21:47:52 +00:00
2014-04-01 01:27:24 +03:00
2014-01-08 22:35:14 +01:00
2014-05-04 21:59:39 +03:00
2014-02-09 18:55:29 -02:00
2009-08-25 01:30:41 +02:00
2014-04-09 12:31:21 +02:00
2007-08-27 18:25:01 +00:00
2014-01-24 22:04:37 +01:00
2009-08-25 01:30:41 +02:00
2014-01-30 20:50:17 +08:00
2014-05-24 20:02:18 +02:00
2014-05-24 20:02:18 +02:00
2014-01-26 01:48:15 +01:00
2014-04-26 06:16:51 +03:00
2014-01-22 22:55:20 +01:00
2008-09-08 22:48:43 +00:00
2009-08-25 01:30:41 +02:00
2014-04-26 16:16:38 +03:00
2008-07-22 11:36:50 +00:00
2014-04-09 12:31:21 +02:00
2008-04-12 15:10:55 +00:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2014-02-06 22:59:02 +01:00
2014-05-30 23:00:20 +03:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00
2014-04-09 12:31:53 +02:00
2014-04-01 19:24:48 +03:00
2007-08-27 18:25:01 +00:00
2009-08-25 01:30:41 +02:00
2009-08-25 01:30:41 +02:00