mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add audio.get_input_devices_names()
This commit is contained in:
parent
6b9a408e6d
commit
b11bdf0bcc
6 changed files with 55 additions and 0 deletions
|
|
@ -253,6 +253,16 @@ std::unique_ptr<Stream> audio::open_stream(
|
|||
return backend->openStream(std::move(stream), keepSource);
|
||||
}
|
||||
|
||||
std::unique_ptr<InputDevice> audio::open_input_device(
|
||||
uint sampleRate, uint channels, uint bitsPerSample
|
||||
) {
|
||||
return backend->openInputDevice(sampleRate, channels, bitsPerSample);
|
||||
}
|
||||
|
||||
std::vector<std::string> audio::get_input_devices_names() {
|
||||
return backend->getInputDeviceNames();
|
||||
}
|
||||
|
||||
void audio::set_listener(
|
||||
glm::vec3 position, glm::vec3 velocity, glm::vec3 lookAt, glm::vec3 up
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue