Ignore:
Timestamp:
Jan 9, 2020 9:05:50 AM (4 years ago)
Author:
ming
Message:

Closed #589: Update Speex AEC to the latest version to get multichannel EC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/speex/libspeex/buffer.c

    r2002 r6129  
    11/* Copyright (C) 2007 Jean-Marc Valin 
    2        
     2 
    33   File: buffer.c 
    44   This is a very simple ring buffer implementation. It is not thread-safe 
     
    3939#include "os_support.h" 
    4040#include "arch.h" 
    41 #include <speex/speex_buffer.h> 
     41#include "speex/speex_buffer.h" 
    4242 
    4343struct SpeexBuffer_ { 
     
    100100EXPORT int speex_buffer_writezeros(SpeexBuffer *st, int len) 
    101101{ 
    102    /* This is almost the same as for speex_buffer_write() but using  
     102   /* This is almost the same as for speex_buffer_write() but using 
    103103   SPEEX_MEMSET() instead of SPEEX_COPY(). Update accordingly. */ 
    104104   int end; 
     
    136136   if (len > st->available) 
    137137   { 
    138       SPEEX_MEMSET(data+st->available, 0, st->size-st->available); 
     138      SPEEX_MEMSET(data+st->available, 0, len - st->available); 
    139139      len = st->available; 
    140140   } 
Note: See TracChangeset for help on using the changeset viewer.