196c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org/*
296c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org *  Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
396c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org *
496c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org *  Use of this source code is governed by a BSD-style license
596c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org *  that can be found in the LICENSE file in the root of the source
696c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org *  tree. An additional intellectual property rights grant can be found
796c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org *  in the file PATENTS.  All contributing project authors may
896c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org *  be found in the AUTHORS file in the root of the source tree.
996c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org */
1096c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org
1196c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org#ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_OPUS_INST_H_
1296c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org#define WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_OPUS_INST_H_
1396c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org
1496c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org#include "opus.h"
1596c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org
1696c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.orgstruct WebRtcOpusEncInst {
1796c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org  OpusEncoder* encoder;
1896c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org};
1996c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org
2096c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.orgstruct WebRtcOpusDecInst {
2196c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org  OpusDecoder* decoder_left;
2296c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org  OpusDecoder* decoder_right;
2396c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org  int prev_decoded_samples;
2496c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org  int channels;
2596c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org};
2696c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org
2796c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org
2896c18e050e926d0654f1b9d6756177009ef1790dminyue@webrtc.org#endif  // WEBRTC_MODULES_AUDIO_CODING_CODECS_OPUS_OPUS_INST_H_
29