Show
Ignore:
Timestamp:
10/02/08 01:32:37 (3 months ago)
Author:
tekisuke
Message:

lang/actionscript/flmml/: マクロを再帰的定義したときのバグをとりあえず修正。FM音源はまだ封印。

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/actionscript/flmml/trunk/src/com/txt_nifty/sketch/flmml/MTrack.as

    r19332 r20421  
    128128                                m_ch.setVolMode(e.getVolMode()); 
    129129                                break; 
     130                            case MStatus.INPUT: 
     131                                m_ch.setInput(e.getInputSens(), e.getInputPipe()); 
     132                                break; 
     133                            case MStatus.OUTPUT: 
     134                                m_ch.setOutput(e.getOutputMode(), e.getOutputPipe()); 
     135                                break; 
    130136                            case MStatus.CLOSE: 
    131137                                m_ch.close(); 
     
    345351            recDelta(e); 
    346352            e.setVolMode(m); 
     353            m_events.push(e); 
     354        } 
     355 
     356        public function recInput(sens:int, pipe:int):void { 
     357            var e:MEvent = new MEvent(); 
     358            recDelta(e); 
     359            e.setInput(sens, pipe); 
     360            m_events.push(e); 
     361        } 
     362 
     363        public function recOutput(mode:int, pipe:int):void { 
     364            var e:MEvent = new MEvent(); 
     365            recDelta(e); 
     366            e.setOutput(mode, pipe); 
    347367            m_events.push(e); 
    348368        }