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

Side by Side Diff: Source/modules/webaudio/AudioParam.h

Issue 1227783004: Fix virtual/override/final usage in Source/modules/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 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 | Annotate | Revision Log
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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 static PassRefPtr<AudioParamHandler> create(AudioContext& context, double de faultValue) 57 static PassRefPtr<AudioParamHandler> create(AudioContext& context, double de faultValue)
58 { 58 {
59 return adoptRef(new AudioParamHandler(context, defaultValue)); 59 return adoptRef(new AudioParamHandler(context, defaultValue));
60 } 60 }
61 DECLARE_TRACE(); 61 DECLARE_TRACE();
62 // This should be used only in audio rendering thread. 62 // This should be used only in audio rendering thread.
63 AudioContext* context() const; 63 AudioContext* context() const;
64 64
65 // AudioSummingJunction 65 // AudioSummingJunction
66 virtual void didUpdate() override { } 66 void didUpdate() override { }
67 67
68 AudioParamTimeline& timeline() { return m_timeline; } 68 AudioParamTimeline& timeline() { return m_timeline; }
69 69
70 // Intrinsic value. 70 // Intrinsic value.
71 float value(); 71 float value();
72 void setValue(float); 72 void setValue(float);
73 73
74 // Final value for k-rate parameters, otherwise use calculateSampleAccurateV alues() for a-rate. 74 // Final value for k-rate parameters, otherwise use calculateSampleAccurateV alues() for a-rate.
75 // Must be called in the audio thread. 75 // Must be called in the audio thread.
76 float finalValue(); 76 float finalValue();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 private: 148 private:
149 AudioParam(AudioContext&, double defaultValue); 149 AudioParam(AudioContext&, double defaultValue);
150 150
151 RefPtr<AudioParamHandler> m_handler; 151 RefPtr<AudioParamHandler> m_handler;
152 Member<AudioContext> m_context; 152 Member<AudioContext> m_context;
153 }; 153 };
154 154
155 } // namespace blink 155 } // namespace blink
156 156
157 #endif // AudioParam_h 157 #endif // AudioParam_h
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioNodeInput.h ('k') | Source/modules/webaudio/AudioProcessingEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698