On Tuesday 02 February 2010, D. Michael McIntyre wrote:

> m_portCheckNeeded == false 100% of the time.  If I comment out the return,
> picking up new or deleted clients works.
> 
> Investigating...

OK, this is supposed to be set in some kind of event loop or whatever that's 
processing ALSA events

OK, there's this gigantic while statement:

    while (snd_seq_event_input(m_midiHandle, &event) > 0) {

Leading to a big switch statement:

        switch (event->type) {

Leading to this block:

        case SND_SEQ_EVENT_CLIENT_START:
        case SND_SEQ_EVENT_CLIENT_EXIT:
        case SND_SEQ_EVENT_CLIENT_CHANGE:
        case SND_SEQ_EVENT_PORT_START:
        case SND_SEQ_EVENT_PORT_EXIT:
        case SND_SEQ_EVENT_PORT_CHANGE:
        case SND_SEQ_EVENT_PORT_SUBSCRIBED:
        case SND_SEQ_EVENT_PORT_UNSUBSCRIBED:
            m_portCheckNeeded = true;
            // easy to spot debug trace goes here, removed for clarity
            break;

So this is telling me that Rosegarden is never receiving any of the above 
events from ALSA, and/or something really sinister is afoot.

That debug trace never fires, which explains why m_portCheckNeeded is always 
false.

I'm not familiar with the ALSA API in the slightest, but I assume we're 
looking for CLIENT_START here.  I tried a lot of different things aimed at 
triggering *something* from this block in the switch statement, and never did 
get this code to fire.

I even tested connecting something to Rosegarden externally.  Rosegarden has 
no idea of its existence at all, but the connection works.

So at this point I am out of ideas beyond hoping that a reboot might magically 
cure this.

Any other thoughts?

And as far as me having sound problems since I upgraded, I generally have 
everything working now, and the only thing that gives me pause on occasion is 
getting the flash player to make noise.  I have to kill some weird process 
that pertains to the vagaries of running the 32-bit binary-only flash player 
on a 64-bit system, or something to that effect.  Nothing related to any of 
this at all.
-- 
D. Michael McIntyre

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to