pub type AUDIO_ENCODER_ONENCODEDDATA = Option<unsafe extern "C" fn(pBuffer: *const u8, bytesToWrite: size_t, duration_100nanos: u64, pContext: *mut c_void)>;
Expand description

The AUDIO_ENCODER_ONENCODEDDATA type represents an application-defined status callback function used to provide the encoded data. @param pBuffer audio data buffer. @param bytesToWrite The length of pBuffer in bytes. @param duration_100nanos The duration of the audio sample @param pContext A pointer to the application-defined callback context.