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

Unified Diff: Source/platform/audio/AudioDestination.h

Issue 458313005: Cleanup namespace usage from animation to exported in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup namespace usage from animation to exported in platform/ 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/audio/AudioDSPKernel.cpp ('k') | Source/platform/audio/AudioDestination.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/audio/AudioDestination.h
diff --git a/Source/platform/audio/AudioDestination.h b/Source/platform/audio/AudioDestination.h
index ca696d105f544ed9940431b345eed8d6034af1bd..616852f274b38dce99160c15370f11677d8e61cc 100644
--- a/Source/platform/audio/AudioDestination.h
+++ b/Source/platform/audio/AudioDestination.h
@@ -44,7 +44,7 @@ class AudioPullFIFO;
// An AudioDestination using Chromium's audio system
-class PLATFORM_EXPORT AudioDestination : public blink::WebAudioDevice::RenderCallback, public AudioSourceProvider {
+class PLATFORM_EXPORT AudioDestination : public WebAudioDevice::RenderCallback, public AudioSourceProvider {
WTF_MAKE_NONCOPYABLE(AudioDestination);
public:
AudioDestination(AudioIOCallback&, const String& inputDeviceId, unsigned numberOfInputChannels, unsigned numberOfOutputChannels, float sampleRate);
@@ -60,10 +60,10 @@ public:
float sampleRate() const { return m_sampleRate; }
- // blink::WebAudioDevice::RenderCallback
- virtual void render(const blink::WebVector<float*>& sourceData, const blink::WebVector<float*>& audioData, size_t numberOfFrames) OVERRIDE;
+ // WebAudioDevice::RenderCallback
+ virtual void render(const WebVector<float*>& sourceData, const WebVector<float*>& audioData, size_t numberOfFrames) OVERRIDE;
- // blink::AudioSourceProvider
+ // AudioSourceProvider
virtual void provideInput(AudioBus*, size_t framesToProcess) OVERRIDE;
static float hardwareSampleRate();
@@ -83,7 +83,7 @@ private:
RefPtr<AudioBus> m_renderBus;
float m_sampleRate;
bool m_isPlaying;
- OwnPtr<blink::WebAudioDevice> m_audioDevice;
+ OwnPtr<WebAudioDevice> m_audioDevice;
size_t m_callbackBufferSize;
OwnPtr<AudioFIFO> m_inputFifo;
« no previous file with comments | « Source/platform/audio/AudioDSPKernel.cpp ('k') | Source/platform/audio/AudioDestination.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698