started work on sorce and listener

This commit is contained in:
Nyx
2025-05-09 03:00:56 -06:00
parent 79bdb2254c
commit 6dd1337c4c
10 changed files with 273 additions and 8 deletions

View File

@@ -16,12 +16,16 @@ class SteamAudio : public RefCounted
{
GDCLASS( SteamAudio,RefCounted ) // NOLINT(readability-use-auto)
private:
IPLContext context = nullptr;
protected:
static void _bind_methods();
public:
SteamAudio();
~SteamAudio() override;
private:
IPLContext context = nullptr;
IPLEmbreeDevice embree_device = nullptr;
protected:
static void _bind_methods();
public:
SteamAudio();
~SteamAudio() override;
bool initialize();
[[nodiscard]] IPLContext getContext() const{return context;}
[[nodiscard]] IPLEmbreeDevice getEmbreeDevice() const{return embree_device;}
};