Changeset 559

Show
Ignore:
Timestamp:
10/14/08 22:42:49 (2 months ago)
Author:
smoors
Message:

more comments for midi actions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/midiAutosense/libs/hydrogen/src/action.cpp

    r558 r559  
    181181 
    182182        if( sActionString == "MUTE" ){ 
     183                //mutes the master, not a single strip 
    183184                pEngine->getSong()->__is_muted = true; 
    184185                return true; 
     
    207208 
    208209        if( sActionString == "STRIP_VOLUME_RELATIVE" ){ 
     210                //increments/decrements the volume of one mixer strip    
    209211                 
    210212                bool ok; 
     
    236238 
    237239        if( sActionString == "STRIP_VOLUME_ABSOLUTE" ){ 
    238                  
     240                //sets the volume of a mixer strip to a given level (percentage) 
     241 
    239242                bool ok; 
    240243                int nLine = pAction->getParameter1().toInt(&ok,10); 
     
    261264 
    262265        if( sActionString == "BPM_CC_RELATIVE" ){ 
     266                /* 
     267                 * increments/decrements the BPM 
     268                 * this is useful if the bpm is set by a rotary control knob 
     269                */ 
     270 
    263271                AudioEngine::get_instance()->lock( "Action::BPM_CC_RELATIVE" ); 
    264272