final nGetBufferAvailableCount = nativeLib.lookupFunction<Uint32 Function(Int32), int Function(int?)>( 'get_buffer_available_count');