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

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

Issue 1557363002: Remove the WEB_AUDIO compile time flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, 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 15 matching lines...) Expand all
26 #define OscillatorNode_h 26 #define OscillatorNode_h
27 27
28 #include "modules/webaudio/AudioParam.h" 28 #include "modules/webaudio/AudioParam.h"
29 #include "modules/webaudio/AudioScheduledSourceNode.h" 29 #include "modules/webaudio/AudioScheduledSourceNode.h"
30 #include "platform/audio/AudioBus.h" 30 #include "platform/audio/AudioBus.h"
31 #include "wtf/OwnPtr.h" 31 #include "wtf/OwnPtr.h"
32 #include "wtf/PassRefPtr.h" 32 #include "wtf/PassRefPtr.h"
33 #include "wtf/RefPtr.h" 33 #include "wtf/RefPtr.h"
34 #include "wtf/Threading.h" 34 #include "wtf/Threading.h"
35 35
36 #if ENABLE(WEB_AUDIO)
37
38 namespace blink { 36 namespace blink {
39 37
40 class AbstractAudioContext; 38 class AbstractAudioContext;
41 class ExceptionState; 39 class ExceptionState;
42 class PeriodicWave; 40 class PeriodicWave;
43 41
44 // OscillatorNode is an audio generator of periodic waveforms. 42 // OscillatorNode is an audio generator of periodic waveforms.
45 43
46 class OscillatorHandler final : public AudioScheduledSourceHandler { 44 class OscillatorHandler final : public AudioScheduledSourceHandler {
47 public: 45 public:
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 private: 112 private:
115 OscillatorNode(AbstractAudioContext&, float sampleRate); 113 OscillatorNode(AbstractAudioContext&, float sampleRate);
116 OscillatorHandler& oscillatorHandler() const; 114 OscillatorHandler& oscillatorHandler() const;
117 115
118 Member<AudioParam> m_frequency; 116 Member<AudioParam> m_frequency;
119 Member<AudioParam> m_detune; 117 Member<AudioParam> m_detune;
120 }; 118 };
121 119
122 } // namespace blink 120 } // namespace blink
123 121
124 #endif // ENABLE(WEB_AUDIO)
125
126 #endif // OscillatorNode_h 122 #endif // OscillatorNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698