This source file includes following definitions.
- device_id_
#include "media/audio/audio_output_dispatcher.h"
#include "base/single_thread_task_runner.h"
namespace media {
AudioOutputDispatcher::AudioOutputDispatcher(
AudioManager* audio_manager,
const AudioParameters& params,
const std::string& device_id)
: audio_manager_(audio_manager),
task_runner_(audio_manager->GetTaskRunner()),
params_(params),
device_id_(device_id) {
DCHECK(audio_manager->GetTaskRunner()->BelongsToCurrentThread());
}
AudioOutputDispatcher::~AudioOutputDispatcher() {
DCHECK(task_runner_->BelongsToCurrentThread());
}
}