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 * | 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 21 matching lines...) Expand all Loading... |
32 #include "bindings/core/v8/ScriptWrappable.h" | 32 #include "bindings/core/v8/ScriptWrappable.h" |
33 #include "modules/webaudio/AudioContext.h" | 33 #include "modules/webaudio/AudioContext.h" |
34 #include "modules/webaudio/AudioParamTimeline.h" | 34 #include "modules/webaudio/AudioParamTimeline.h" |
35 #include "modules/webaudio/AudioSummingJunction.h" | 35 #include "modules/webaudio/AudioSummingJunction.h" |
36 #include <sys/types.h> | 36 #include <sys/types.h> |
37 #include "wtf/Float32Array.h" | 37 #include "wtf/Float32Array.h" |
38 #include "wtf/PassRefPtr.h" | 38 #include "wtf/PassRefPtr.h" |
39 #include "wtf/RefCounted.h" | 39 #include "wtf/RefCounted.h" |
40 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
41 | 41 |
42 namespace WebCore { | 42 namespace blink { |
43 | 43 |
44 class AudioNodeOutput; | 44 class AudioNodeOutput; |
45 | 45 |
46 #if ENABLE(OILPAN) | 46 #if ENABLE(OILPAN) |
47 #define AUDIO_PARAM_BASE_CLASSES public AudioSummingJunction, public ScriptWrapp
able | 47 #define AUDIO_PARAM_BASE_CLASSES public AudioSummingJunction, public ScriptWrapp
able |
48 #else | 48 #else |
49 #define AUDIO_PARAM_BASE_CLASSES public RefCounted<AudioParam>, public ScriptWra
ppable, public AudioSummingJunction | 49 #define AUDIO_PARAM_BASE_CLASSES public RefCounted<AudioParam>, public ScriptWra
ppable, public AudioSummingJunction |
50 #endif | 50 #endif |
51 class AudioParam FINAL : AUDIO_PARAM_BASE_CLASSES { | 51 class AudioParam FINAL : AUDIO_PARAM_BASE_CLASSES { |
52 public: | 52 public: |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 double m_minValue; | 131 double m_minValue; |
132 double m_maxValue; | 132 double m_maxValue; |
133 unsigned m_units; | 133 unsigned m_units; |
134 | 134 |
135 // Smoothing (de-zippering) | 135 // Smoothing (de-zippering) |
136 double m_smoothedValue; | 136 double m_smoothedValue; |
137 | 137 |
138 AudioParamTimeline m_timeline; | 138 AudioParamTimeline m_timeline; |
139 }; | 139 }; |
140 | 140 |
141 } // namespace WebCore | 141 } // namespace blink |
142 | 142 |
143 #endif // AudioParam_h | 143 #endif // AudioParam_h |
OLD | NEW |