| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 void reset(); | 51 void reset(); |
| 52 | 52 |
| 53 size_t impulseResponseLength() const { return m_impulseResponseLength; } | 53 size_t impulseResponseLength() const { return m_impulseResponseLength; } |
| 54 size_t latencyFrames() const; | 54 size_t latencyFrames() const; |
| 55 | 55 |
| 56 private: | 56 private: |
| 57 void initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, siz
e_t maxFFTSize, size_t numberOfChannels, bool useBackgroundThreads); | 57 void initialize(AudioBus* impulseResponseBuffer, size_t renderSliceSize, siz
e_t maxFFTSize, size_t numberOfChannels, bool useBackgroundThreads); |
| 58 | 58 |
| 59 size_t m_impulseResponseLength; | 59 size_t m_impulseResponseLength; |
| 60 | 60 |
| 61 Vector<OwnPtr<ReverbConvolver> > m_convolvers; | 61 Vector<OwnPtr<ReverbConvolver>> m_convolvers; |
| 62 | 62 |
| 63 // For "True" stereo processing | 63 // For "True" stereo processing |
| 64 RefPtr<AudioBus> m_tempBuffer; | 64 RefPtr<AudioBus> m_tempBuffer; |
| 65 }; | 65 }; |
| 66 | 66 |
| 67 } // namespace blink | 67 } // namespace blink |
| 68 | 68 |
| 69 #endif // Reverb_h | 69 #endif // Reverb_h |
| OLD | NEW |