chromium/components/speech/audio_buffer.h

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

#ifndef COMPONENTS_SPEECH_AUDIO_BUFFER_H_
#define COMPONENTS_SPEECH_AUDIO_BUFFER_H_

#include <stddef.h>
#include <stdint.h>

#include <string>

#include "base/containers/circular_deque.h"
#include "base/memory/ref_counted.h"

// Models a chunk derived from an AudioBuffer.
class AudioChunk : public base::RefCountedThreadSafe<AudioChunk> {};

// Models an audio buffer. The current implementation relies on on-demand
// allocations of AudioChunk(s) (which uses a string as storage).
class AudioBuffer {};

#endif  // COMPONENTS_SPEECH_AUDIO_BUFFER_H_