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

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

Issue 2389253002: reflow comments in modules/{webaudio,vr} (Closed)
Patch Set: . Created 4 years, 2 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 float sampleRate, 46 float sampleRate,
47 std::unique_ptr<AudioProcessor>); 47 std::unique_ptr<AudioProcessor>);
48 ~AudioBasicProcessorHandler() override; 48 ~AudioBasicProcessorHandler() override;
49 49
50 // AudioHandler 50 // AudioHandler
51 void process(size_t framesToProcess) final; 51 void process(size_t framesToProcess) final;
52 void pullInputs(size_t framesToProcess) final; 52 void pullInputs(size_t framesToProcess) final;
53 void initialize() final; 53 void initialize() final;
54 void uninitialize() final; 54 void uninitialize() final;
55 55
56 // Called in the main thread when the number of channels for the input may hav e changed. 56 // Called in the main thread when the number of channels for the input may
57 // have changed.
57 void checkNumberOfChannelsForInput(AudioNodeInput*) final; 58 void checkNumberOfChannelsForInput(AudioNodeInput*) final;
58 59
59 // Returns the number of channels for both the input and the output. 60 // Returns the number of channels for both the input and the output.
60 unsigned numberOfChannels(); 61 unsigned numberOfChannels();
61 AudioProcessor* processor() { return m_processor.get(); } 62 AudioProcessor* processor() { return m_processor.get(); }
62 63
63 private: 64 private:
64 AudioBasicProcessorHandler(NodeType, 65 AudioBasicProcessorHandler(NodeType,
65 AudioNode&, 66 AudioNode&,
66 float sampleRate, 67 float sampleRate,
67 std::unique_ptr<AudioProcessor>); 68 std::unique_ptr<AudioProcessor>);
68 double tailTime() const final; 69 double tailTime() const final;
69 double latencyTime() const final; 70 double latencyTime() const final;
70 71
71 std::unique_ptr<AudioProcessor> m_processor; 72 std::unique_ptr<AudioProcessor> m_processor;
72 }; 73 };
73 74
74 } // namespace blink 75 } // namespace blink
75 76
76 #endif // AudioBasicProcessorHandler_h 77 #endif // AudioBasicProcessorHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698