[haiku-development] Re: Proposal: include InternalMIDI in Haiku

  • From: pete.goodeve@xxxxxxxxxxxx
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 24 Mar 2010 16:29:45 -0700

On Tue, Mar 23, 2010 at 03:00:35PM -0700, pete.goodeve@xxxxxxxxxxxx wrote:
> On Tue, Mar 23, 2010 at 06:19:40AM +0100, Stefano Ceccherini wrote:
> > 
> > Haiku has support for old style MidiKit and MidiKit 2. So if it
> > doesn't work on haiku, it's a bug.
> 
> It would seem so...  I created a minimal test app that simply creates
> a MidiPort (doesn't even open it or try to use it).  Under BeOS 5,
> PatchBay immediately shows the associated "MidiPortGlue" endpoints.
> Not so with Haiku.
> 
> Ticket #5625 has the details.
> 

Fixed it.  The simple reason was that the endpoints weren't being registered!
Adding calls to BMidiRoster::Register() makes them visible as they should be.
Noted in #5625.

                -- Pete --


Other related posts: