| Index: media/audio/cras/cras_input.h
|
| diff --git a/media/audio/cras/cras_input.h b/media/audio/cras/cras_input.h
|
| index 7520ab61b1180abc4fb5a4a41b3ff8e40026f7a7..2efed6b725a4293b7f7602feaa0cde42b4dc12a0 100644
|
| --- a/media/audio/cras/cras_input.h
|
| +++ b/media/audio/cras/cras_input.h
|
| @@ -49,7 +49,7 @@ class MEDIA_EXPORT CrasInputStream : public AgcAudioStream<AudioInputStream> {
|
| // called by the audio server when it has samples ready.
|
| static int SamplesReady(cras_client* client,
|
| cras_stream_id_t stream_id,
|
| - uint8* samples,
|
| + uint8_t* samples,
|
| size_t frames,
|
| const timespec* sample_ts,
|
| void* arg);
|
| @@ -62,7 +62,7 @@ class MEDIA_EXPORT CrasInputStream : public AgcAudioStream<AudioInputStream> {
|
|
|
| // Reads one or more buffers of audio from the device, passes on to the
|
| // registered callback. Called from SamplesReady().
|
| - void ReadAudio(size_t frames, uint8* buffer, const timespec* sample_ts);
|
| + void ReadAudio(size_t frames, uint8_t* buffer, const timespec* sample_ts);
|
|
|
| // Deals with an error that occured in the stream. Called from StreamError().
|
| void NotifyStreamError(int err);
|
| @@ -81,7 +81,7 @@ class MEDIA_EXPORT CrasInputStream : public AgcAudioStream<AudioInputStream> {
|
| AudioManagerCras* const audio_manager_;
|
|
|
| // Size of frame in bytes.
|
| - uint32 bytes_per_frame_;
|
| + uint32_t bytes_per_frame_;
|
|
|
| // Callback to pass audio samples too, valid while recording.
|
| AudioInputCallback* callback_;
|
|
|