|
From: Christian S. <chr...@ep...> - 2004-05-18 18:08:23
|
Es geschah am Dienstag, 18. Mai 2004 19:16 als St=E9phane Letz schrieb: > Le 18 mai 04, =E0 17:00, Christian Schoenebeck a =E9crit : > > Es geschah am Dienstag, 18. Mai 2004 15:50 als St=E9phane Letz schrieb: > >> Hi, > >> > >> I'm working on the CoreMidi driver for MacOSX. The CoeMidi driver will > >> be callback based thus I guess the "MidiInputDeviceCoreMidi" class > >> does > >> to need to be a subclass of MidiThread and does not implements the > >> Main > >> method? > > > > Hi St=E9phane! > > > > Good to hear that you're woring for it! > > > > The abstract Main() method (from abstract class Thread) is the method > > which > > will be executed by the thread, so this method _HAS_ to be implemented > > (otherwise you'll get an compiler error anyway). > > The driver is callback based, thus it does not need any thread. > > I have now a CoreMidi driver compiling and loading but i can not load > the FreePiano gig file that is not recognized as a RIFF file on Mac... Sorry, my fault, I only read half of your mail. Of course, you're right if= =20 it's callback based it should not derive the Thread class of course. But I= =20 wonder if you have the latest version of LinuxSampler. In current CVS versi= on=20 there is not 'MidiThread' class anymore. And I already fixed the bigendian= =20 specific bugs that caused gig files not to be recognized as RIFF files on M= ac=20 in december or so. At least I could successfully test it on a PPC running=20 Linux, so please check if you have the latest version: cvs -z3 -d:pserver:ano...@cv...:/var/cvs/linuxsampler co= =20 linuxsampler CU Christian |