Audio: Handle AudioBuffer compatibility
OpenAL buffers are shared between contextes
This commit is contained in:
@@ -50,7 +50,7 @@ namespace Nz
|
||||
SoundBuffer(SoundBuffer&&) = delete;
|
||||
~SoundBuffer() = default;
|
||||
|
||||
const std::shared_ptr<AudioBuffer>& GetBuffer(AudioDevice* device);
|
||||
const std::shared_ptr<AudioBuffer>& GetAudioBuffer(AudioDevice* device);
|
||||
|
||||
inline UInt32 GetDuration() const;
|
||||
inline AudioFormat GetFormat() const;
|
||||
|
||||
Reference in New Issue
Block a user