SpeechDecoderSetCodec Method (Codec, Int32) |
Sets the codec type of the data to be decoded and default frame duration.
Namespace: StreamCoders.DecoderAssembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax public void SetCodec(
Codec codec,
int codecSpecificData
)
Public Sub SetCodec (
codec As Codec,
codecSpecificData As Integer
)
public:
void SetCodec(
Codec codec,
int codecSpecificData
)
member SetCodec :
codec : Codec *
codecSpecificData : int -> unit
Parameters
- codec
- Type: StreamCodersCodec
The codec to use.
- codecSpecificData
- Type: SystemInt32
Optional codec specific data is currently only used for AMR codec types. Set to 0 for Octet-Aligned.
Set to 1 when Band-efficient mode is used.
See Also