cpal/asio-sys/asio-link/helpers.hpp

16 lines
517 B
C++
Raw Permalink Normal View History

2018-04-22 12:07:47 +00:00
#pragma once
#include "asiodrivers.h"
#include "asio.h"
// Helper function to wrap confusing preprocessor
extern "C" ASIOError get_sample_rate(double * rate);
2018-11-02 11:06:08 +00:00
// Helper function to wrap confusing preprocessor
extern "C" ASIOError set_sample_rate(double rate);
// Helper function to wrap confusing preprocessor
extern "C" ASIOError can_sample_rate(double rate);
2018-11-01 01:21:00 +00:00
extern "C" bool load_asio_driver(char * name);
extern "C" void remove_current_driver();
extern "C" long get_driver_names(char **names, long maxDrivers);