Changeset 2247

Show
Ignore:
Timestamp:
02/22/99 08:56:06 (15 years ago)
Author:
ucacoxh
Message:

- Added memchk to codec_state_store_expand.

- When changing primary codec and transmitting if the primary codec is

compatible with the former primary we stop and then restart transmission.
This has the effect of resetting the transmitter.

Location:
rat/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/audio.c

    r2246 r2247  
    323323        } else { 
    324324                debug_msg("audio device reconfigure - nothing to do.\n"); 
     325                if (tx_is_sending(sp->tb)) { 
     326                        tx_stop(sp->tb); 
     327                        tx_start(sp->tb); 
     328                } 
    325329        } 
    326330 
  • rat/trunk/codec_state.c

    r2136 r2247  
    9090                buffer[i] = css->buffer[i]; 
    9191        } 
    92  
     92        xmemchk(); 
    9393        xfree(css->buffer); 
    9494        css->buffer     = buffer;