#pragma once #include #include namespace cxx_juce::audio_io_device { rust::Str getDeviceName (const juce::AudioIODevice& audioIoDevice); rust::Str getDeviceTypeName (const juce::AudioIODevice& audioIoDevice); rust::Vec getAvailableSampleRates (juce::AudioIODevice& audioIoDevice); rust::Vec getAvailableBufferSizes (juce::AudioIODevice& audioIoDevice); void open (juce::AudioIODevice& audioIoDevice, double sampleRate, size_t bufferSize); rust::i32 countActiveInputChannels (const juce::AudioIODevice& audioIoDevice); rust::i32 countActiveOutputChannels (const juce::AudioIODevice& audioIoDevice); } // namespace cxx_juce::audio_io_device