// 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_ENCODER_H_ #define COMPONENTS_SPEECH_AUDIO_ENCODER_H_ #include <memory> #include <string> #include "base/memory/raw_ptr.h" #include "base/memory/ref_counted.h" #include "components/speech/audio_buffer.h" #include "third_party/flac/include/FLAC/stream_encoder.h" class AudioChunk; class FlacStreamEncoderDeleter { … }; // Provides a simple interface to encode raw audio using FLAC codec. class AudioEncoder { … }; #endif // COMPONENTS_SPEECH_AUDIO_ENCODER_H_