OzNativeMediaWriterInitAudioStream Method |
Initializes the audio stream. If failed this object will be disposed.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public bool InitAudioStream(
int sampleRate,
int channels,
int bitrate,
OzNativeCodec codec
)
Public Function InitAudioStream (
sampleRate As Integer,
channels As Integer,
bitrate As Integer,
codec As OzNativeCodec
) As Boolean
public:
bool InitAudioStream(
int sampleRate,
int channels,
int bitrate,
OzNativeCodec codec
)
member InitAudioStream :
sampleRate : int *
channels : int *
bitrate : int *
codec : OzNativeCodec -> bool
Parameters
- sampleRate
- Type: SystemInt32
Sample rate. - channels
- Type: SystemInt32
Channels. - bitrate
- Type: SystemInt32
Bitrate. - codec
- Type: Ozeki.CommonOzNativeCodec
Codec.
Return Value
Type:
Booleantrue, if audio stream was inited,
false otherwise.
See Also