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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual void uninitialize() override; | 63 virtual void uninitialize() override; |
64 virtual void process(const AudioBus* source, AudioBus* destination, size_t f
ramesToProcess) override; | 64 virtual void process(const AudioBus* source, AudioBus* destination, size_t f
ramesToProcess) override; |
65 virtual void reset() override; | 65 virtual void reset() override; |
66 virtual void setNumberOfChannels(unsigned) override; | 66 virtual void setNumberOfChannels(unsigned) override; |
67 virtual unsigned numberOfChannels() const override { return m_numberOfChanne
ls; } | 67 virtual unsigned numberOfChannels() const override { return m_numberOfChanne
ls; } |
68 | 68 |
69 virtual double tailTime() const override; | 69 virtual double tailTime() const override; |
70 virtual double latencyTime() const override; | 70 virtual double latencyTime() const override; |
71 | 71 |
72 protected: | 72 protected: |
73 Vector<OwnPtr<AudioDSPKernel> > m_kernels; | 73 Vector<OwnPtr<AudioDSPKernel>> m_kernels; |
74 mutable Mutex m_processLock; | 74 mutable Mutex m_processLock; |
75 bool m_hasJustReset; | 75 bool m_hasJustReset; |
76 }; | 76 }; |
77 | 77 |
78 } // namespace blink | 78 } // namespace blink |
79 | 79 |
80 #endif // AudioDSPKernelProcessor_h | 80 #endif // AudioDSPKernelProcessor_h |
OLD | NEW |