| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #include "platform/audio/Biquad.h" | 29 #include "platform/audio/Biquad.h" |
| 30 | 30 |
| 31 #include "platform/audio/AudioUtilities.h" | 31 #include "platform/audio/AudioUtilities.h" |
| 32 #include "platform/audio/DenormalDisabler.h" | 32 #include "platform/audio/DenormalDisabler.h" |
| 33 #include "platform/wtf/MathExtras.h" | 33 #include "platform/wtf/MathExtras.h" |
| 34 | 34 |
| 35 #include <stdio.h> |
| 35 #include <algorithm> | 36 #include <algorithm> |
| 36 #include <complex> | 37 #include <complex> |
| 37 #include <stdio.h> | |
| 38 #if OS(MACOSX) | 38 #if OS(MACOSX) |
| 39 #include <Accelerate/Accelerate.h> | 39 #include <Accelerate/Accelerate.h> |
| 40 #endif | 40 #endif |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 #if OS(MACOSX) | 44 #if OS(MACOSX) |
| 45 const int kBufferSize = 1024; | 45 const int kBufferSize = 1024; |
| 46 #endif | 46 #endif |
| 47 | 47 |
| (...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 879 | 879 |
| 880 tail_frame = RootFinder(low, high, log(kMaxTailAmplitude), c1, c2, r); | 880 tail_frame = RootFinder(low, high, log(kMaxTailAmplitude), c1, c2, r); |
| 881 } | 881 } |
| 882 } | 882 } |
| 883 } | 883 } |
| 884 | 884 |
| 885 return tail_frame; | 885 return tail_frame; |
| 886 } | 886 } |
| 887 | 887 |
| 888 } // namespace blink | 888 } // namespace blink |
| OLD | NEW |