Example #1
0
 internal static extern int Flush(NativeEncoderHandle handle, [In, Out] byte[] buffer, int bufferSize);
Example #2
0
 internal static extern UIntPtr GetLameTagFrame(NativeEncoderHandle handle, [In, Out] byte[] buffer, UIntPtr bufferSize);
Example #3
0
 internal static extern int InitializeParams(NativeEncoderHandle handle);
Example #4
0
 internal static extern int EncodeBuffer(NativeEncoderHandle handle, float[] leftSamples, float[] rightSamples, int sampleCount, [In, Out] byte[] buffer, int bufferSize);
Example #5
0
 internal static extern void SetVbrQuality(NativeEncoderHandle handle, float quality);
Example #6
0
 internal static extern void SetMeanBitRate(NativeEncoderHandle handle, int bitRate);
Example #7
0
 internal static extern void SetVbr(NativeEncoderHandle handle, VbrMode vbrMode);
Example #8
0
 internal static extern void SetQuality(NativeEncoderHandle handle, int quality);
Example #9
0
 internal static extern void SetChannels(NativeEncoderHandle handle, int channels);
Example #10
0
 internal static extern void SetSampleRate(NativeEncoderHandle handle, int sampleRate);
Example #11
0
 internal static extern void SetSampleCount(NativeEncoderHandle handle, uint samples);