#9920: BSynth upgrade -----------------------------+------------------------- Reporter: Pete | Owner: korli Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: Kits/Midi Kit | Version: R1/alpha4.1 Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All -----------------------------+------------------------- Comment (by jackburton): About the GetAudio part: From what I see, playsound can be called multiple times. If so, there is a memory leak, since we allocate memory and assign it to fMonitor without deleting it first. Would be okay to call delete[] on it first ? Moreover, we write the data as floats and then we read it as int16s in BSynth::GetAudio(). Is it okay ? -- Ticket URL: <https://dev.haiku-os.org/ticket/9920#comment:21> Haiku <https://dev.haiku-os.org> Haiku - the operating system.