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

Unified Diff: media/audio/audio_io.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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
Index: media/audio/audio_io.h
diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h
index 45af3d29db960015e27dd8b5bf0598687077a47e..b9665f8ce9bf6f771f73c224f8463819ea380220 100644
--- a/media/audio/audio_io.h
+++ b/media/audio/audio_io.h
@@ -5,7 +5,6 @@
#ifndef MEDIA_AUDIO_AUDIO_IO_H_
#define MEDIA_AUDIO_AUDIO_IO_H_
-#include "base/basictypes.h"
#include "media/base/audio_bus.h"
// Low-level audio output support. To make sound there are 3 objects involved:
@@ -112,15 +111,15 @@ class MEDIA_EXPORT AudioInputStream {
// TODO(henrika): should be pure virtual when old OnData() is phased out.
virtual void OnData(AudioInputStream* stream,
const AudioBus* source,
- uint32 hardware_delay_bytes,
- double volume) {};
+ uint32_t hardware_delay_bytes,
+ double volume){};
// TODO(henrika): don't use; to be removed.
virtual void OnData(AudioInputStream* stream,
- const uint8* src,
- uint32 size,
- uint32 hardware_delay_bytes,
- double volume) {};
+ const uint8_t* src,
+ uint32_t size,
+ uint32_t hardware_delay_bytes,
+ double volume){};
// There was an error while recording audio. The audio sink cannot be
// destroyed yet. No direct action needed by the AudioInputStream, but it

Powered by Google App Engine
This is Rietveld 408576698