Changeset 6129 for pjproject/trunk/third_party/speex/libspeex/buffer.c
- Timestamp:
- Jan 9, 2020 9:05:50 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/third_party/speex/libspeex/buffer.c
r2002 r6129 1 1 /* Copyright (C) 2007 Jean-Marc Valin 2 2 3 3 File: buffer.c 4 4 This is a very simple ring buffer implementation. It is not thread-safe … … 39 39 #include "os_support.h" 40 40 #include "arch.h" 41 #include <speex/speex_buffer.h>41 #include "speex/speex_buffer.h" 42 42 43 43 struct SpeexBuffer_ { … … 100 100 EXPORT int speex_buffer_writezeros(SpeexBuffer *st, int len) 101 101 { 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 103 103 SPEEX_MEMSET() instead of SPEEX_COPY(). Update accordingly. */ 104 104 int end; … … 136 136 if (len > st->available) 137 137 { 138 SPEEX_MEMSET(data+st->available, 0, st->size-st->available);138 SPEEX_MEMSET(data+st->available, 0, len - st->available); 139 139 len = st->available; 140 140 }
Note: See TracChangeset
for help on using the changeset viewer.