Changeset 2417

Show
Ignore:
Timestamp:
04/29/99 15:26:48 (15 years ago)
Author:
ucaccsp
Message:

Fixes to rtp.source.active and rtp.source.inactive if the UI doesn't have
a record on the source which is being activated.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/ui_audiotool.tcl

    r2411 r2417  
    676676 
    677677proc mbus_recv_rtp.ssrc {ssrc} { 
    678         global my_ssrc rtcp_name rtcp_email rtcp_phone rtcp_loc num_ssrc 
    679  
    680         set my_ssrc  $ssrc 
    681         init_source  $ssrc 
     678        global my_ssrc  
     679 
     680        set my_ssrc $ssrc 
     681        init_source $ssrc 
    682682        ssrc_update $ssrc 
    683683} 
     
    833833 
    834834proc mbus_recv_rtp.source.active {ssrc} { 
     835    init_source $ssrc  
     836    ssrc_update $ssrc 
    835837    global speaker_highlight 
    836838    catch [[window_plist $ssrc] configure -background $speaker_highlight] 
     839} 
     840 
     841proc mbus_recv_rtp.source.inactive {ssrc} { 
     842    init_source $ssrc  
    837843    ssrc_update $ssrc 
    838 } 
    839  
    840 proc mbus_recv_rtp.source.inactive {ssrc} { 
    841844    global speaker_highlight 
    842845    catch { 
     
    848851        } 
    849852    } 
    850     ssrc_update $ssrc 
    851853} 
    852854 
     
    22172219                # match with the current version string to force a reset 
    22182220                # of the saved parameters. 
    2219             puts "*X*X*X tool failed regexp match: $tool" 
     2221                puts "*X*X*X tool failed regexp match: $tool" 
    22202222                return "RAT v0.0.0" 
    22212223        }