Changeset 32587 for lang/actionscript

Show
Ignore:
Timestamp:
04/18/09 21:53:34 (3 years ago)
Author:
tasuku
Message:

MSequencer.asをShift-JISからUTF-8化。

Files:
1 modified

Legend:

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

    r31399 r32587  
    3535        protected var m_processTrack:int; 
    3636        protected var m_processOffset:int; 
    37         protected var m_output:Boolean; //! ���݃o�b�t�@�������ݒ����ǂ��� 
     37        protected var m_output:Boolean; //! 現在バッファ書き込み中かどうか 
    3838        protected var m_trackArr:Array; 
    3939        protected var m_signalArr:Array; 
     
    4242        protected var m_status:int; 
    4343        protected var m_signalInterval:int; 
    44         protected var m_stopTimer:Timer; //! �������L�b�N�p�̃^�C�}�[ 
    45         protected var m_buffTimer:Timer; //! �ꎞ�����o�b�t�@�����O�����L�b�N�p�̃^�C�}�[ 
    46         protected var m_procTimer:Timer; //! �o�b�t�@�������ݏ����L�b�N�p�̃^�C�}�[ 
     44        protected var m_stopTimer:Timer; //! 停止処理キック用のタイマー 
     45        protected var m_buffTimer:Timer; //! 一時停止&バッファリング処理キック用のタイマー 
     46        protected var m_procTimer:Timer; //! バッファ書き込み処理キック用のタイマー 
    4747        protected var m_multiple:int; 
    4848        protected var m_startTime:uint; 
     
    179179        } 
    180180 
    181         //! �o�b�t�@�������݃��N�G�X�g 
     181        //! バッファ書き込みリクエスト 
    182182        private function processStart():void { 
    183183            m_step = STEP_PRE; 
     
    185185            m_procTimer.start(); 
    186186        } 
    187         //! ��ۂ̃o�b�t�@�������� 
    188         // UI�̃t���[�Y����邽�߁A���X�e�b�v�ɕ����ď������ 
     187        //! 実際のバッファ書き込み 
     188        // UIのフリーズを避けるため、数ステップに分けて処理を行う 
    189189        private function processAll(e:Event):void { 
    190190            var sLen:int = MSequencer.BUFFER_SIZE * m_multiple; 
     
    264264            m_output = true; 
    265265            if (m_playSize >= m_multiple) { 
    266                 // �o�b�t�@�����ς݂̏ꍇ 
     266                // バッファ完成済みの場合 
    267267                if (m_step == STEP_COMPLETE) { 
    268268                    m_playSide = 1 - m_playSide; 
     
    270270                    processStart(); 
    271271                } 
    272                 // �o�b�t�@���������̏ꍇ 
     272                // バッファが未完成の場合 
    273273                else { 
    274274                    m_output = false; 
     
    278278                if (m_status == STATUS_LAST) { 
    279279                    m_output = false; 
    280                     //reqStop(); stop��estTimer�ɔC����                    return; 
     280                    //reqStop(); stopはrestTimerに任せる 
     281                    return; 
    281282                } 
    282283                else if (m_status == STATUS_PLAY) {