minor fixes to sequence support
This commit is contained in:
parent
9e67026345
commit
9328087e23
4 changed files with 38 additions and 14 deletions
|
|
@ -34,10 +34,11 @@ impl SynthesizerService {
|
|||
}
|
||||
|
||||
pub fn need_service(&self) -> bool {
|
||||
self.need_service || self.synth.has_new_output()
|
||||
self.need_service || (self.enabled && self.synth.has_new_output())
|
||||
}
|
||||
|
||||
pub fn service(&mut self) -> Option<u8> {
|
||||
self.need_service = false;
|
||||
if self.enabled {
|
||||
Some(self.synth.get_output())
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue