umc_speech_mediadata.h

来自「audio-video-codecs.rar语音编解码器」· C头文件 代码 · 共 44 行

H
44
字号
/*//////////////////////////////////////////////////////////////////////////////
//
//                  INTEL CORPORATION PROPRIETARY INFORMATION
//     This software is supplied under the terms of a license agreement or
//     nondisclosure agreement with Intel Corporation and may not be copied
//     or disclosed except in accordance with the terms of that agreement.
//          Copyright(c) 2005-2007 Intel Corporation. All Rights Reserved.
//
*/

#ifndef __UMC_SPEECH_MEDIADATA_H__
#define __UMC_SPEECH_MEDIADATA_H__

#include "umc_structures.h"
#include "umc_media_data.h"

namespace UMC
{

    class SpeechMediaData : public MediaData
       {
          DYNAMIC_CAST_DECL(SpeechMediaData,MediaData)
          public:

      SpeechMediaData(Ipp32u length = 0);

      //  Move data to another MediaData
      virtual Status MoveDataTo(MediaData *dst);

      Status SetBitrate(Ipp32s bitrate);
      Ipp32s GetBitrate() { return m_bitrate;};
      Status SetFrameType(Ipp32s frametype);
      Ipp32s GetFrameType() { return m_frametype;};
      Status SetNBytes(Ipp32s nbytes);
      Ipp32s GetNBytes() { return m_nbytes;};
   protected:
      Ipp32s m_bitrate;
      Ipp32s m_frametype;
      Ipp32s m_nbytes;
};
}// namespace UMC

#endif /* __UMC_SPEECH_MEDIADATA_H__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?