Changeset 1271

Show
Ignore:
Timestamp:
06/23/08 11:45:19 (3 months ago)
Author:
drobilla
Message:

OSC documentation fixes.
Don't disable clients when they send a message with response id -1.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ingen/src/libs/engine/OSCEngineReceiver.cpp

    r1265 r1271  
    198198 * counted pointer, and events just take a reference to that.  Thus, events 
    199199 * may delete their responder if we've since switched to a new one, or the 
    200  * same one can stay around and serve a series of events.  Reference counting 
    201  * is pretty sweet, eh? 
     200 * same one can stay around and serve a series of events. 
     201 * Hooray for reference counting. 
    202202 * 
    203203 * If this message came from the same source as the last message, no allocation 
    204204 * of responders or lo_addresses or any of it needs to be done.  Unfortunately 
    205205 * the only way to check is by comparing URLs, because liblo addresses suck. 
    206  * 
    207  * Really, this entire thing is a basically just a crafty way of partially 
    208  * working around the fact that liblo addresses really suck.  Oh well. 
     206 * Lack of a fast liblo address comparison really sucks here, in any case. 
    209207 */ 
    210208int 
     
    232230        } else { 
    233231                me->disable_responses(); 
    234                 if (me->_responder->client()) 
    235                         me->_responder->client()->disable(); 
    236232        } 
    237233 
     
    615611 * \arg \b response-id (integer) 
    616612 * \arg \b port-path (string) - Name of port 
    617  * \arg \b value (float) - Value to set port to </p> \n \n 
     613 * \arg \b value (float or blob) - Value to set port to </p> \n \n 
    618614 */ 
    619615/** \page engine_osc_namespace 
     
    622618 * \arg \b port-path (string) - Name of port 
    623619 * \arg \b voice (integer) - Voice to set port value for 
    624  * \arg \b value (float) - Value to set port to </p> \n \n 
     620 * \arg \b value (float or blob) - Value to set port to </p> \n \n 
    625621 * 
    626622 * See documentation for set_port_value for the distinction between these two messages.