add audio::InputDevice

This commit is contained in:
MihailRis
2025-10-14 12:43:51 +03:00
parent 2b72f87c64
commit 27416ab0cd
4 changed files with 96 additions and 0 deletions
+7
View File
@@ -71,10 +71,17 @@ namespace audio {
std::unique_ptr<Sound> createSound(
std::shared_ptr<PCM> pcm, bool keepPCM
) override;
std::unique_ptr<Stream> openStream(
std::shared_ptr<PCMStream> stream, bool keepSource
) override;
std::unique_ptr<InputDevice> openInputDevice(
uint sampleRate, uint channels, uint bitsPerSample
) override {
return nullptr;
}
void setListener(
glm::vec3 position, glm::vec3 velocity, glm::vec3 at, glm::vec3 up
) override {