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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 25 matching lines...) Expand all Loading... |
36 class DelayDSPKernel final : public AudioDelayDSPKernel { | 36 class DelayDSPKernel final : public AudioDelayDSPKernel { |
37 public: | 37 public: |
38 explicit DelayDSPKernel(DelayProcessor*); | 38 explicit DelayDSPKernel(DelayProcessor*); |
39 | 39 |
40 protected: | 40 protected: |
41 bool hasSampleAccurateValues() override; | 41 bool hasSampleAccurateValues() override; |
42 void calculateSampleAccurateValues(float* delayTimes, | 42 void calculateSampleAccurateValues(float* delayTimes, |
43 size_t framesToProcess) override; | 43 size_t framesToProcess) override; |
44 double delayTime(float sampleRate) override; | 44 double delayTime(float sampleRate) override; |
45 | 45 |
| 46 void processOnlyAudioParams(size_t framesToProcess) override; |
| 47 |
46 private: | 48 private: |
47 DelayProcessor* getDelayProcessor() { | 49 DelayProcessor* getDelayProcessor() { |
48 return static_cast<DelayProcessor*>(processor()); | 50 return static_cast<DelayProcessor*>(processor()); |
49 } | 51 } |
50 }; | 52 }; |
51 | 53 |
52 } // namespace blink | 54 } // namespace blink |
53 | 55 |
54 #endif // DelayDSPKernel_h | 56 #endif // DelayDSPKernel_h |
OLD | NEW |