AudioKit / ROMPlayer

AudioKit Sample Player (ROM Player) - EXS24, Sound Font, Wave Player
http://audiokitpro.com
MIT License
530 stars 82 forks source link

Memory Leaks #6

Closed Veremei closed 4 years ago

Veremei commented 5 years ago

Hi! I don't know if it's me or if i found some kind of issue. So I use sound part of ParentViewController and all "AudioSystem" in my app

There are problems in 1)PianoGame.Fatten.init(AudioKit.AKNode) -> PianoGame.Fatten : pannedSource = AKPanner(inputMixer, pan: -1) PianoGame.Conductor.init() -> PianoGame.Conductor fatten = Fatten(autoPanMixer)

2)PianoGame.PingPongDelay.init(AudioKit.AKNode) -> PianoGame.PingPongDelay var leftDelay = AKVariableDelay() PianoGame.Conductor.init() -> PianoGame.Conductor multiDelay = PingPongDelay(fatten)

3)PianoGame.Conductor.init() -> PianoGame.Conductor
tremolo = AKTremolo(sampler1, waveform: AKTable(.sine)) 4)PianoGame.AutoPan.init(AudioKit.AKNode) -> PianoGame.AutoPan output = AKOperationEffect(input) { input, parameters in

5)PianoGame.FilterSection.init(AudioKit.AKNode) -> PianoGame.FilterSection output = AKOperationEffect(input) { input, parameters in 6) var leftCompensator = AKVariableDelay()

and etc

Снимок экрана 2019-05-27 в 12 35 18 Снимок экрана 2019-05-27 в 12 35 43
PaulBatchelor commented 5 years ago

These all look soundpipe/sporth related to me. Maybe their destroy functions aren't being called?

Veremei commented 5 years ago

I don't know,but leaks appear when screen loaded/appear with initializing of these properties @PaulBatchelor

colinhallett commented 5 years ago

I have a similar problem I think - see https://github.com/colinhallett/MemoryLeakTest

aure commented 4 years ago

Since this is an AudioKit issue, not specifically ROMPlayer, I am going to close it.