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

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

Issue 458923003: Remove AudioNode::isMarkedForDeletion from oilpan builds (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 public: 52 public:
53 static const double DefaultSmoothingConstant; 53 static const double DefaultSmoothingConstant;
54 static const double SnapThreshold; 54 static const double SnapThreshold;
55 55
56 static PassRefPtrWillBeRawPtr<AudioParam> create(AudioContext* context, doub le defaultValue) 56 static PassRefPtrWillBeRawPtr<AudioParam> create(AudioContext* context, doub le defaultValue)
57 { 57 {
58 return adoptRefWillBeNoop(new AudioParam(context, defaultValue)); 58 return adoptRefWillBeNoop(new AudioParam(context, defaultValue));
59 } 59 }
60 60
61 // AudioSummingJunction 61 // AudioSummingJunction
62 #if !ENABLE(OILPAN)
62 virtual bool canUpdateState() OVERRIDE { return true; } 63 virtual bool canUpdateState() OVERRIDE { return true; }
64 #endif
63 virtual void didUpdate() OVERRIDE { } 65 virtual void didUpdate() OVERRIDE { }
64 66
65 // Intrinsic value. 67 // Intrinsic value.
66 float value(); 68 float value();
67 void setValue(float); 69 void setValue(float);
68 70
69 // Final value for k-rate parameters, otherwise use calculateSampleAccurateV alues() for a-rate. 71 // Final value for k-rate parameters, otherwise use calculateSampleAccurateV alues() for a-rate.
70 // Must be called in the audio thread. 72 // Must be called in the audio thread.
71 float finalValue(); 73 float finalValue();
72 74
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 123
122 // Smoothing (de-zippering) 124 // Smoothing (de-zippering)
123 double m_smoothedValue; 125 double m_smoothedValue;
124 126
125 AudioParamTimeline m_timeline; 127 AudioParamTimeline m_timeline;
126 }; 128 };
127 129
128 } // namespace blink 130 } // namespace blink
129 131
130 #endif // AudioParam_h 132 #endif // AudioParam_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698