前のページ次のページ上に戻るホーム SophiaFramework 2.2
SFBVocoder
IVocoder インターフェイスのラッパークラスです。
#include <SFBVocoder.hpp>
class SFBVocoder : public SFBBase;
typedef SFBVocoder&          SFBVocoderRef;
typedef SFBVocoder*          SFBVocoderPtr;
typedef SFBVocoder**         SFBVocoderHandle;
typedef const SFBVocoder     ConstSFBVocoder;
typedef const SFBVocoder&    ConstSFBVocoderRef;
typedef const SFBVocoder*    ConstSFBVocoderPtr;
typedef const SFBVocoder**   ConstSFBVocoderHandle;

継承図

SFBVocoder クラスの継承図

参照

BREW API IVocoder

メンバ

パブリック関数
public
AddRef (SFBBase から継承) インターフェイスの参照カウントをインクリメントします。
public
GetFrameLength 与えられたレートでの指定されたボコーダフレームのサイズを提供します。
public
GetInDepth キューに格納されているエンコードされたフレームの数を取得します。
public
GetOutDepth 再生のためキューに格納されているフレームの数を取得します。
public
static
Instance IVocoder インターフェイスのインスタンスを取得します。
public
PlayTone ボコーダを通してトーンを再生します。
public
Release (SFBBase から継承) インターフェイスの参照カウントをデクリメントします。
public
VocConfigure 特定のボコーダを使用するようにボコーダオブジェクトを構成します。
public
VocInRead キューから、最古のエンコードされた音声フレームを取得します。
public
VocInReset エンコードされたボコーダフレームのキューを停止、クリアします。
public
VocInStart 音声フレームのエンコードを開始します。
public
VocInStop 音声フレームのエンコードを停止します。
public
VocOutReset デコードに使用可能なフレームのキューをクリアします。
public
VocOutStart キュー内のフレームのデコードと再生を開始します。
public
VocOutStop キュー内のフレームのデコードと再生を停止します。
public
VocOutWrite デコーダに新しいデータフレームを供給します。

SFBVocoder::GetFrameLength
与えられたレートでの指定されたボコーダフレームのサイズを提供します。
[ public ]
SInt16 GetFrameLength(
    VocoderType vocoder   
    DataRateType rate     
    UInt16Ptr pLength     
);

参照

BREW API IVOCODER_GetFrameLength


SFBVocoder::GetInDepth
キューに格納されているエンコードされたフレームの数を取得します。
[ public ]
SFCError GetInDepth(
    UInt16Ptr pDepth   
);
[ public ]
UInt16 GetInDepth(Void);

参照

BREW API IVOCODER_GetInDepth


SFBVocoder::GetOutDepth
再生のためキューに格納されているフレームの数を取得します。
[ public ]
SFCError GetOutDepth(
    UInt16Ptr pDepth   
);
[ public ]
UInt16 GetOutDepth(Void);

参照

BREW API IVOCODER_GetOutDepth


SFBVocoder::Instance
IVocoder インターフェイスのインスタンスを取得します。
[ public, static ]
SFUBrewPtr<SFBVocoder> Instance(Void);

SFBVocoder::PlayTone
ボコーダを通してトーンを再生します。
[ public ]
SFCError PlayTone(
    UInt16 tone1      
    UInt16 tone2      
    SInt16 volume     
    UInt16 duration   
);

参照

BREW API IVOCODER_PlayTone


SFBVocoder::VocConfigure
特定のボコーダを使用するようにボコーダオブジェクトを構成します。
[ public ]
SFCError VocConfigure(
    IVocoderConfigType config   
    IVocoderInfoType * pInfo    
);

参照

BREW API IVOCODER_VocConfigure | IVocoderConfigType


SFBVocoder::VocInRead
キューから、最古のエンコードされた音声フレームを取得します。
[ public ]
SFCError VocInRead(
    DataRateType * pRate   
    UInt16Ptr pLength      
    VoidPtr pData          
);

参照

BREW API IVOCODER_VocInRead | IVocoderConfigType


SFBVocoder::VocInReset
エンコードされたボコーダフレームのキューを停止、クリアします。
[ public ]
SFCError VocInReset(Void);

参照

BREW API IVOCODER_VocInReset | SFBVocoder::VocInStop


SFBVocoder::VocInStart
音声フレームのエンコードを開始します。
[ public ]
SFCError VocInStart(Void);

参照

BREW API IVOCODER_VocInStart | IVocoderConfigType


SFBVocoder::VocInStop
音声フレームのエンコードを停止します。
[ public ]
SFCError VocInStop(Void);

参照

BREW API IVOCODER_VocInStop | IVocoderConfigType


SFBVocoder::VocOutReset
デコードに使用可能なフレームのキューをクリアします。
[ public ]
SFCError VocOutReset(Void);

参照

BREW API IVOCODER_VocOutReset | IVocoderConfigType


SFBVocoder::VocOutStart
キュー内のフレームのデコードと再生を開始します。
[ public ]
SFCError VocOutStart(Void);

参照

BREW API IVOCODER_VocOutStart | SFBVocoder::VocOutWrite | IVocoderConfigType


SFBVocoder::VocOutStop
キュー内のフレームのデコードと再生を停止します。
[ public ]
SFCError VocOutStop(Void);

参照

BREW API IVOCODER_VocOutStop


SFBVocoder::VocOutWrite
デコーダに新しいデータフレームを供給します。
[ public ]
SFCError VocOutWrite(
    DataRateType rate    
    UInt16 length        
    ConstVoidPtr pData   
);

参照

BREW API IVOCODER_VocOutWrite | IVocoderConfigType