OzNativeMediaWriterInitAudioStream Method |
Initializes the audio stream. If failed this object will be disposed.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.13.0
Syntaxpublic 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 Int32
- Sample rate.
- channels Int32
- Channels.
- bitrate Int32
- Bitrate.
- codec OzNativeCodec
- Codec.
Return Value
Booleantrue, if audio stream was inited,
false otherwise.
See Also