add audio.get_output_devices_names, set_input_device, set_output_device

This commit is contained in:
MihailRis 2025-10-23 22:54:05 +03:00
parent b11bdf0bcc
commit 6df27b8992
6 changed files with 169 additions and 42 deletions

View file

@ -77,7 +77,7 @@ namespace audio {
) override;
std::unique_ptr<InputDevice> openInputDevice(
uint sampleRate, uint channels, uint bitsPerSample
const char* deviceName, uint sampleRate, uint channels, uint bitsPerSample
) override {
return nullptr;
}
@ -85,6 +85,12 @@ namespace audio {
std::vector<std::string> getInputDeviceNames() override {
return {};
}
std::vector<std::string> getOutputDeviceNames() override {
return {};
}
void setOutputDevice(const std::string& deviceName) override {
}
void setListener(
glm::vec3 position, glm::vec3 velocity, glm::vec3 at, glm::vec3 up