Exemple #1
0
 internal static extern bool StreamEncoderFinish(NativeStreamEncoderHandle handle);
Exemple #2
0
 internal static extern EncoderState StreamEncoderGetState(NativeStreamEncoderHandle handle);
Exemple #3
0
 internal static extern bool StreamEncoderProcessInterleaved(NativeStreamEncoderHandle handle, int[] buffer, uint samples);
Exemple #4
0
 internal static extern bool StreamEncoderSetMetadata(NativeStreamEncoderHandle handle, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)] IntPtr[] metaData, uint blocks);
Exemple #5
0
 internal static extern EncoderInitStatus StreamEncoderInitialize(NativeStreamEncoderHandle handle, StreamEncoderWriteCallback writeCallback, StreamEncoderSeekCallback seekCallback, StreamEncoderTellCallback tellCallback, StreamEncoderMetadataCallback metadataCallback, IntPtr userData);
Exemple #6
0
 internal static extern void StreamEncoderSetCompressionLevel(NativeStreamEncoderHandle handle, uint compressionLevel);
Exemple #7
0
 internal static extern void StreamEncoderSetTotalSamplesEstimate(NativeStreamEncoderHandle handle, ulong totalSamples);
Exemple #8
0
 internal static extern void StreamEncoderSetSampleRate(NativeStreamEncoderHandle handle, uint sampleRate);
Exemple #9
0
 internal static extern void StreamEncoderSetBitsPerSample(NativeStreamEncoderHandle handle, uint bitsPerSample);
Exemple #10
0
 internal static extern void StreamEncoderSetChannels(NativeStreamEncoderHandle handle, uint channels);