OLD | NEW |
| 1 % |
| 2 % Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 3 % |
| 4 % Use of this source code is governed by a BSD-style license |
| 5 % that can be found in the LICENSE file in the root of the source |
| 6 % tree. An additional intellectual property rights grant can be found |
| 7 % in the file PATENTS. All contributing project authors may |
| 8 % be found in the AUTHORS file in the root of the source tree. |
| 9 % |
| 10 |
1 function [delay_struct, delayvalues] = plot_neteq_delay(delayfile, varargin) | 11 function [delay_struct, delayvalues] = plot_neteq_delay(delayfile, varargin) |
2 | 12 |
3 % InfoStruct = plot_neteq_delay(delayfile) | 13 % InfoStruct = plot_neteq_delay(delayfile) |
4 % InfoStruct = plot_neteq_delay(delayfile, 'skipdelay', skip_seconds) | 14 % InfoStruct = plot_neteq_delay(delayfile, 'skipdelay', skip_seconds) |
5 % | 15 % |
6 % Henrik Lundin, 2006-11-17 | 16 % Henrik Lundin, 2006-11-17 |
7 % Henrik Lundin, 2011-05-17 | 17 % Henrik Lundin, 2011-05-17 |
8 % | 18 % |
9 | 19 |
10 try | 20 try |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 % positive jump | 188 % positive jump |
179 x(n+1:end)=x(n+1:end)-65536; | 189 x(n+1:end)=x(n+1:end)-65536; |
180 end | 190 end |
181 | 191 |
182 jumps=find(abs((diff(x(n+1:end))-1))>65000); | 192 jumps=find(abs((diff(x(n+1:end))-1))>65000); |
183 end | 193 end |
184 | 194 |
185 y=x; | 195 y=x; |
186 | 196 |
187 return; | 197 return; |
OLD | NEW |