mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
add audio.get_output_devices_names, set_input_device, set_output_device
This commit is contained in:
parent
b11bdf0bcc
commit
6df27b8992
6 changed files with 169 additions and 42 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue