| Index: media/audio/mac/audio_manager_mac.cc
|
| diff --git a/media/audio/mac/audio_manager_mac.cc b/media/audio/mac/audio_manager_mac.cc
|
| index ae850920ba826766cb5651f715b9cb5f93f74b46..6fd2126cebe6925893a095eaf76565f924635569 100644
|
| --- a/media/audio/mac/audio_manager_mac.cc
|
| +++ b/media/audio/mac/audio_manager_mac.cc
|
| @@ -598,16 +598,14 @@
|
| }
|
|
|
| AudioOutputStream* AudioManagerMac::MakeLinearOutputStream(
|
| - const AudioParameters& params,
|
| - const LogCallback& log_callback) {
|
| - DCHECK(GetTaskRunner()->BelongsToCurrentThread());
|
| - return MakeLowLatencyOutputStream(params, std::string(), log_callback);
|
| + const AudioParameters& params) {
|
| + DCHECK(GetTaskRunner()->BelongsToCurrentThread());
|
| + return MakeLowLatencyOutputStream(params, std::string());
|
| }
|
|
|
| AudioOutputStream* AudioManagerMac::MakeLowLatencyOutputStream(
|
| const AudioParameters& params,
|
| - const std::string& device_id,
|
| - const LogCallback& log_callback) {
|
| + const std::string& device_id) {
|
| DCHECK(GetTaskRunner()->BelongsToCurrentThread());
|
| bool device_listener_first_init = false;
|
| // Lazily create the audio device listener on the first stream creation,
|
| @@ -642,7 +640,7 @@
|
| current_sample_rate_ = params.sample_rate();
|
| }
|
|
|
| - AUHALStream* stream = new AUHALStream(this, params, device, log_callback);
|
| + AUHALStream* stream = new AUHALStream(this, params, device);
|
| output_streams_.push_back(stream);
|
| return stream;
|
| }
|
| @@ -676,9 +674,7 @@
|
| }
|
|
|
| AudioInputStream* AudioManagerMac::MakeLinearInputStream(
|
| - const AudioParameters& params,
|
| - const std::string& device_id,
|
| - const LogCallback& log_callback) {
|
| + const AudioParameters& params, const std::string& device_id) {
|
| DCHECK(GetTaskRunner()->BelongsToCurrentThread());
|
| DCHECK_EQ(AudioParameters::AUDIO_PCM_LINEAR, params.format());
|
| AudioInputStream* stream = new PCMQueueInAudioInputStream(this, params);
|
| @@ -687,9 +683,7 @@
|
| }
|
|
|
| AudioInputStream* AudioManagerMac::MakeLowLatencyInputStream(
|
| - const AudioParameters& params,
|
| - const std::string& device_id,
|
| - const LogCallback& log_callback) {
|
| + const AudioParameters& params, const std::string& device_id) {
|
| DCHECK(GetTaskRunner()->BelongsToCurrentThread());
|
| DCHECK_EQ(AudioParameters::AUDIO_PCM_LOW_LATENCY, params.format());
|
| // Gets the AudioDeviceID that refers to the AudioInputDevice with the device
|
| @@ -697,8 +691,7 @@
|
| AudioDeviceID audio_device_id = GetAudioDeviceIdByUId(true, device_id);
|
| AUAudioInputStream* stream = NULL;
|
| if (audio_device_id != kAudioObjectUnknown) {
|
| - stream =
|
| - new AUAudioInputStream(this, params, audio_device_id, log_callback);
|
| + stream = new AUAudioInputStream(this, params, audio_device_id);
|
| low_latency_input_streams_.push_back(stream);
|
| }
|
|
|
|
|