/// <summary> /// Initializes a new instance of <see cref="LibsndfileApi"/> with the default native implementations. /// </summary> public LibsndfileApi() { var marshaller = new LibsndfileMarshaller(); var api = new LibsndfileApiNativeWrapper(marshaller); var commandApi = new LibsndfileCommandApiNativeWrapper(api, marshaller); Initialize(api, commandApi); }
/// <summary> /// Initializes a new instance of <see cref="LibsndfileApi"/> with the default native implementations. /// </summary> public LibsndfileApi() { var marshaller = new LibsndfileMarshaller(); var api = new LibsndfileApiNativeWrapper(marshaller); var commandApi = new LibsndfileCommandApiNativeWrapper(api, marshaller); Initialize(api, commandApi); }