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

Unified Diff: media/audio/mac/audio_low_latency_input_mac.cc

Issue 17315021: Refactored DataBuffer to use unix_hacker style methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Inlined getters and setters on DataBuffer Created 7 years, 6 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/linux/alsa_output_unittest.cc ('k') | media/base/audio_splicer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_low_latency_input_mac.cc
diff --git a/media/audio/mac/audio_low_latency_input_mac.cc b/media/audio/mac/audio_low_latency_input_mac.cc
index 9c1f23d4461c28c911376a75c593c3ea3138d613..17a87b0a7dc7f9622f4353ff2be4d5d9e321e475 100644
--- a/media/audio/mac/audio_low_latency_input_mac.cc
+++ b/media/audio/mac/audio_low_latency_input_mac.cc
@@ -513,11 +513,11 @@ OSStatus AUAudioInputStream::Provide(UInt32 number_of_frames,
// sufficient amount.
if (fifo_->forward_bytes() >= requested_size_bytes_) {
// Read from FIFO into temporary data buffer.
- fifo_->Read(data_->GetWritableData(), requested_size_bytes_);
+ fifo_->Read(data_->writable_data(), requested_size_bytes_);
// Deliver data packet, delay estimation and volume level to the user.
sink_->OnData(this,
- data_->GetData(),
+ data_->data(),
requested_size_bytes_,
capture_delay_bytes,
normalized_volume);
« no previous file with comments | « media/audio/linux/alsa_output_unittest.cc ('k') | media/base/audio_splicer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698