[haiku-bugs] Re: [Haiku] #5625: "MidiPortGlue" missing

  • From: "Pete" <trac@xxxxxxxxxxxx>
  • Date: Wed, 24 Mar 2010 23:18:33 -0000

#5625: "MidiPortGlue" missing
---------------------------+------------------------------------------------
 Reporter:  Pete           |       Owner:  korli    
     Type:  bug            |      Status:  new      
 Priority:  normal         |   Milestone:  R1       
Component:  Kits/Midi Kit  |     Version:  R1/alpha1
 Keywords:                 |   Blockedby:           
 Platform:  All            |    Blocking:           
---------------------------+------------------------------------------------

Comment(by Pete):

 It looks like the reason is pretty simple:  the "MidiPortGlue" endpoints
 are never registered!

 I added the following lines in the constructor in BMidiPort.cpp, line 32:

 {{{
     BMidiRoster::Register(fLocalSource);
     BMidiRoster::Register(fLocalSink);
 }}}

 [Easier for me than entering a patch for just two lines... Sorry about the
 spaces for tabs.]

 Now the ports appear in PatchBay as they should, and SqueekySynth appears
 to be working (if only the audio on my machine wasn't being balky at the
 moment (:-/)

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5625#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: