Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(947)

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioBasicProcessorHandler.h

Issue 2839063003: Implement tail processing for AudioNodes (Closed)
Patch Set: Make declaration order consistent Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 // Returns the number of channels for both the input and the output. 61 // Returns the number of channels for both the input and the output.
62 unsigned NumberOfChannels(); 62 unsigned NumberOfChannels();
63 AudioProcessor* Processor() { return processor_.get(); } 63 AudioProcessor* Processor() { return processor_.get(); }
64 64
65 private: 65 private:
66 AudioBasicProcessorHandler(NodeType, 66 AudioBasicProcessorHandler(NodeType,
67 AudioNode&, 67 AudioNode&,
68 float sample_rate, 68 float sample_rate,
69 std::unique_ptr<AudioProcessor>); 69 std::unique_ptr<AudioProcessor>);
70 bool RequiresTailProcessing() const final;
70 double TailTime() const final; 71 double TailTime() const final;
71 double LatencyTime() const final; 72 double LatencyTime() const final;
72 73
73 std::unique_ptr<AudioProcessor> processor_; 74 std::unique_ptr<AudioProcessor> processor_;
74 }; 75 };
75 76
76 } // namespace blink 77 } // namespace blink
77 78
78 #endif // AudioBasicProcessorHandler_h 79 #endif // AudioBasicProcessorHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698