chromium/remoting/protocol/audio_decode_scheduler_unittest.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "remoting/protocol/audio_decode_scheduler.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/run_loop.h"
#include "base/test/task_environment.h"
#include "base/threading/thread.h"
#include "remoting/base/auto_thread.h"
#include "remoting/base/auto_thread_task_runner.h"
#include "remoting/proto/audio.pb.h"
#include "remoting/protocol/session_config.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace remoting::protocol {

namespace {

const int kAudioSampleBytes =;
const uint8_t kDummyAudioData =;

class FakeAudioConsumer : public AudioStub {};

}  // namespace

class AudioDecodeSchedulerTest : public ::testing::Test {};

void AudioDecodeSchedulerTest::SetUp() {}

void AudioDecodeSchedulerTest::TearDown() {}

// TODO(nicholss): Could share the following in a common class for use
// in other places.
std::unique_ptr<AudioPacket> CreatePacketWithSamplingRate_(
    AudioPacket::SamplingRate rate,
    int samples) {}

std::unique_ptr<AudioPacket> CreatePacket44100Hz_(int samples) {}

std::unique_ptr<AudioPacket> CreatePacket48000Hz_(int samples) {}

TEST_F(AudioDecodeSchedulerTest, Shutdown) {}

}  // namespace remoting::protocol