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

Unified Diff: media/audio/cras/cras_input.h

Issue 967693002: Clang fixes for chromeos (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback Created 5 years, 10 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 | « media/audio/cras/audio_manager_cras.h ('k') | media/audio/cras/cras_unified.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/cras/cras_input.h
diff --git a/media/audio/cras/cras_input.h b/media/audio/cras/cras_input.h
index f290f1e098657e628cbf99dcd51538bb5986d19b..be50ac741faaa128d6de293025e1de8991ac75aa 100644
--- a/media/audio/cras/cras_input.h
+++ b/media/audio/cras/cras_input.h
@@ -25,22 +25,23 @@ class CrasInputStream : public AgcAudioStream<AudioInputStream> {
public:
// The ctor takes all the usual parameters, plus |manager| which is the
// audio manager who is creating this object.
- CrasInputStream(const AudioParameters& params, AudioManagerCras* manager,
+ CrasInputStream(const AudioParameters& params,
+ AudioManagerCras* manager,
const std::string& device_id);
// The dtor is typically called by the AudioManager only and it is usually
// triggered by calling AudioOutputStream::Close().
- virtual ~CrasInputStream();
+ ~CrasInputStream() override;
// Implementation of AudioInputStream.
- virtual bool Open() override;
- virtual void Start(AudioInputCallback* callback) override;
- virtual void Stop() override;
- virtual void Close() override;
- virtual double GetMaxVolume() override;
- virtual void SetVolume(double volume) override;
- virtual double GetVolume() override;
- virtual bool IsMuted() override;
+ bool Open() override;
+ void Start(AudioInputCallback* callback) override;
+ void Stop() override;
+ void Close() override;
+ double GetMaxVolume() override;
+ void SetVolume(double volume) override;
+ double GetVolume() override;
+ bool IsMuted() override;
private:
// Handles requests to get samples from the provided buffer. This will be
« no previous file with comments | « media/audio/cras/audio_manager_cras.h ('k') | media/audio/cras/cras_unified.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698