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 24 matching lines...) Expand all Loading... |
35 class DelayDSPKernel final : public AudioDelayDSPKernel { | 35 class DelayDSPKernel final : public AudioDelayDSPKernel { |
36 public: | 36 public: |
37 explicit DelayDSPKernel(DelayProcessor*); | 37 explicit DelayDSPKernel(DelayProcessor*); |
38 | 38 |
39 protected: | 39 protected: |
40 bool hasSampleAccurateValues() override; | 40 bool hasSampleAccurateValues() override; |
41 void calculateSampleAccurateValues(float* delayTimes, size_t framesToProcess
) override; | 41 void calculateSampleAccurateValues(float* delayTimes, size_t framesToProcess
) override; |
42 double delayTime(float sampleRate) override; | 42 double delayTime(float sampleRate) override; |
43 | 43 |
44 private: | 44 private: |
45 DelayProcessor* delayProcessor() { return static_cast<DelayProcessor*>(proce
ssor()); } | 45 DelayProcessor* getDelayProcessor() { return static_cast<DelayProcessor*>(pr
ocessor()); } |
46 }; | 46 }; |
47 | 47 |
48 } // namespace blink | 48 } // namespace blink |
49 | 49 |
50 #endif // DelayDSPKernel_h | 50 #endif // DelayDSPKernel_h |
OLD | NEW |