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

10 lines
226 B
C++
Raw Normal View History

2018-04-22 12:07:47 +00:00
#include "helpers.hpp"
extern "C" void destruct_AsioDrivers(AsioDrivers * a){
a->~AsioDrivers();
}
extern "C" ASIOError get_sample_rate(double * rate){
return ASIOGetSampleRate(reinterpret_cast<ASIOSampleRate *>(rate));
}