Sixthhokage2 / dsmi

Automatically exported from code.google.com/p/dsmi
0 stars 1 forks source link

The MIDI receiver thread on the iphone project doesn't have an auto release pool #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try using Obj-C classes in the MIDI receiver callback thread (e.g. NSString)

What is the expected output? What do you see instead?
There shouldn't be errors and the objects shouldn't leak

What version of the product are you using? On what operating system?
libdsmi_iphone 1.0, iPhone SDK 3.2.1, Xcode 3.1.4

Please provide any additional information below.
Putting an AutoReleasePool in the MIDIReceiver thread fixes this.

Original issue reported on code.google.com by martin2....@gmail.com on 4 Dec 2009 at 11:39

GoogleCodeExporter commented 9 years ago
how? example or sourcecode pls! can't find a way

Original comment by king...@gmail.com on 18 Feb 2010 at 2:20

GoogleCodeExporter commented 9 years ago
This needs to be added to the source code for the library by the project owner!

Original comment by martin2....@gmail.com on 18 Feb 2010 at 2:25

GoogleCodeExporter commented 9 years ago
do you mean this? http://dsmi.googlecode.com/svn/trunk/ 
because if it's there, i could fix it myself...
really need this to work, can't find anything comparable

Original comment by king...@gmail.com on 18 Feb 2010 at 3:21

GoogleCodeExporter commented 9 years ago
here's an example with the modified libdsmi code modified and built from source
(saving having to messs about with different architectures arm, intel etc.)
http://www.cems.uwe.ac.uk/~mgrobins/downloads/Slider_DSMI.zip

Original comment by martin2....@gmail.com on 18 Feb 2010 at 6:11

GoogleCodeExporter commented 9 years ago
awesome, thx!!!

Original comment by king...@gmail.com on 18 Feb 2010 at 6:21

GoogleCodeExporter commented 9 years ago
Thank you very much for pointing this out Martin.  This will be fixed soon.

Original comment by collin.m...@gmail.com on 3 Jul 2011 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by collin.m...@gmail.com on 3 Jul 2011 at 6:05

GoogleCodeExporter commented 9 years ago

Original comment by collin.m...@gmail.com on 3 Jul 2011 at 6:05