Changeset 4859

Show
Ignore:
Timestamp:
08/27/07 11:31:16 (7 years ago)
Author:
DrewCormier
Message:

replacing old function call

Location:
experimental/components/rc2007_gui
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • experimental/components/rc2007_gui/WorkModule.py

    r4858 r4859  
    6262        self.voice_data_signal.set() 
    6363     
    64     def SendTextData(self,text) 
     64    def SendTextData(self,text): 
    6565        # TODO: pack/depack 
    6666        # TODO: add meta data 
  • experimental/components/rc2007_gui/rc2007_gui.py

    r4856 r4859  
    5353        self.prnt_orb = prnt_orb 
    5454 
    55         self.inPort0_servant = dataIn_complexShort_i(self, "gui_sound_in") 
     55        self.inPort0_servant = dataIn_realChar_i(self, "gui_sound_in") 
    5656        self.inPort0_var = self.inPort0_servant._this() 
    5757 
    58         self.outPort0_servant = dataOut_complexShort_i(self, "gui_sound_out") 
     58        self.outPort0_servant = dataOut_realChar_i(self, "gui_sound_out") 
    5959        self.outPort0_var = self.outPort0_servant._this() 
    6060        self.outPort0_active = False 
     
    164164 
    165165    def send_data(self, data): 
    166         self.data_buffer_lock.acquire() 
     166        self.data_buffer_lock.acquire(Voice) 
    167167        self.data_buffer.insert(0, data) 
    168168        self.data_buffer_lock.release()