From: Vesa <di...@nb...> - 2014-12-26 14:43:06
|
Couple of bugs in master branch which should be easy to fix. I'd fix them myself, but I thought this would be a good opportunity for our newer developers to get a bit more familiar with our codebase - especially the core part of it, not just the GUI. #1 - track muting doesn't work Probably caused by recent changes in NotePlayHandles and AudioPorts. I think this can be fixed in AudioPort, where all the NPH's output is mixed to the AudioPort - add a check if the instrument track that is associated with the AudioPort is muted, and if so, skip the processing of the AudioPort, including its fx chain, and don't write its output to the FxMixer. #2 - adding new instrument tracks while song is playing sometimes causes LMMS to hang Might be a bit trickier, this one I think has to do with threading and thread affinity - might need to look into Qt docs for this one. However, don't let that scare you, it's a great opportunity to learn about Qt here. I suggest looking into TrackContainer for starters. #3 - noise at the end when playing sample previews This should be very easy to fix. Look into SamplePlayHandle - there's some part where the end of the buffer isn't cleared when the sample ends mid-buffer, leaving some random data in the audio buffer. A simple memset in the right place should fix this. I don't think any of these have github issues yet, so please notify here if you want to work on one of these, to prevent duplicate work. First come, first served! |