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

Side by Side Diff: Source/platform/audio/AudioDSPKernelProcessor.h

Issue 630853002: Replacing the OVERRIDE with override in third_party/WebKit/Source/platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase build fix Created 6 years, 2 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
« no previous file with comments | « Source/platform/animation/TimingFunction.h ('k') | Source/platform/audio/AudioDelayDSPKernel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 public: 52 public:
53 // numberOfChannels may be later changed if object is not yet in an "initial ized" state 53 // numberOfChannels may be later changed if object is not yet in an "initial ized" state
54 AudioDSPKernelProcessor(float sampleRate, unsigned numberOfChannels); 54 AudioDSPKernelProcessor(float sampleRate, unsigned numberOfChannels);
55 virtual ~AudioDSPKernelProcessor(); 55 virtual ~AudioDSPKernelProcessor();
56 56
57 // Subclasses create the appropriate type of processing kernel here. 57 // Subclasses create the appropriate type of processing kernel here.
58 // We'll call this to create a kernel for each channel. 58 // We'll call this to create a kernel for each channel.
59 virtual PassOwnPtr<AudioDSPKernel> createKernel() = 0; 59 virtual PassOwnPtr<AudioDSPKernel> createKernel() = 0;
60 60
61 // AudioProcessor methods 61 // AudioProcessor methods
62 virtual void initialize() OVERRIDE; 62 virtual void initialize() override;
63 virtual void uninitialize() OVERRIDE; 63 virtual void uninitialize() override;
64 virtual void process(const AudioBus* source, AudioBus* destination, size_t f ramesToProcess) OVERRIDE; 64 virtual void process(const AudioBus* source, AudioBus* destination, size_t f ramesToProcess) override;
65 virtual void reset() OVERRIDE; 65 virtual void reset() override;
66 virtual void setNumberOfChannels(unsigned) OVERRIDE; 66 virtual void setNumberOfChannels(unsigned) override;
67 virtual unsigned numberOfChannels() const OVERRIDE { return m_numberOfChanne ls; } 67 virtual unsigned numberOfChannels() const override { return m_numberOfChanne ls; }
68 68
69 virtual double tailTime() const OVERRIDE; 69 virtual double tailTime() const override;
70 virtual double latencyTime() const OVERRIDE; 70 virtual double latencyTime() const override;
71 71
72 protected: 72 protected:
73 Vector<OwnPtr<AudioDSPKernel> > m_kernels; 73 Vector<OwnPtr<AudioDSPKernel> > m_kernels;
74 mutable Mutex m_processLock; 74 mutable Mutex m_processLock;
75 bool m_hasJustReset; 75 bool m_hasJustReset;
76 }; 76 };
77 77
78 } // namespace blink 78 } // namespace blink
79 79
80 #endif // AudioDSPKernelProcessor_h 80 #endif // AudioDSPKernelProcessor_h
OLDNEW
« no previous file with comments | « Source/platform/animation/TimingFunction.h ('k') | Source/platform/audio/AudioDelayDSPKernel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698