3#include <ossia/audio/audio_engine.hpp>
4#include <ossia/audio/audio_protocol.hpp>
8class OSSIA_EXPORT audio_device
12 std::string name =
"audio",
int bufferSize = 512,
int sampleRate = 44100,
13 int inputs = 2,
int outputs = 2);
15 std::unique_ptr<audio_protocol>, std::string name =
"audio",
int bufferSize = 512,
16 int sampleRate = 44100,
int inputs = 2,
int outputs = 2);
19 ossia::audio_parameter& get_main_in();
20 ossia::audio_parameter& get_main_out();
22 int get_buffer_size()
const;
23 int get_sample_rate()
const;
25 std::unique_ptr<ossia::audio_engine> engine;
26 ossia::net::generic_device device;
27 ossia::audio_protocol& protocol;