Index: trunk/src/media/audio/android/audio_android_unittest.cc |
=================================================================== |
--- trunk/src/media/audio/android/audio_android_unittest.cc (revision 290374) |
+++ trunk/src/media/audio/android/audio_android_unittest.cc (working copy) |
@@ -123,7 +123,7 @@ |
} |
// We clear the data bus to ensure that the test does not cause noise. |
-static int RealOnMoreData(AudioBus* dest, int total_bytes_delay) { |
+static int RealOnMoreData(AudioBus* dest, AudioBuffersState buffers_state) { |
dest->Zero(); |
return dest->frames(); |
} |
@@ -178,7 +178,7 @@ |
// Use samples read from a data file and fill up the audio buffer |
// provided to us in the callback. |
virtual int OnMoreData(AudioBus* audio_bus, |
- int total_bytes_delay) OVERRIDE { |
+ AudioBuffersState buffers_state) OVERRIDE { |
bool stop_playing = false; |
int max_size = |
audio_bus->frames() * audio_bus->channels() * kBytesPerSample; |
@@ -354,7 +354,7 @@ |
// AudioOutputStream::AudioSourceCallback implementation |
virtual int OnMoreData(AudioBus* dest, |
- int total_bytes_delay) OVERRIDE { |
+ AudioBuffersState buffers_state) OVERRIDE { |
const int size_in_bytes = |
(params_.bits_per_sample() / 8) * dest->frames() * dest->channels(); |
EXPECT_EQ(size_in_bytes, params_.GetBytesPerBuffer()); |