Audio: Commit missing files
This commit is contained in:
parent
f0192c3b98
commit
4bcb63d776
|
|
@ -39,7 +39,9 @@ namespace Nz
|
|||
Vector3f GetListenerPosition() const;
|
||||
Quaternionf GetListenerRotation() const;
|
||||
Vector3f GetListenerVelocity() const;
|
||||
SoundBufferLoader& GetSoundBufferLoader();
|
||||
const SoundBufferLoader& GetSoundBufferLoader() const;
|
||||
SoundStreamLoader& GetSoundStreamLoader();
|
||||
const SoundStreamLoader& GetSoundStreamLoader() const;
|
||||
float GetSpeedOfSound() const;
|
||||
|
||||
|
|
|
|||
|
|
@ -10,9 +10,7 @@
|
|||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <Nazara/Audio/Config.hpp>
|
||||
#include <Nazara/Audio/Enums.hpp>
|
||||
#include <Nazara/Core/ObjectRef.hpp>
|
||||
#include <Nazara/Core/ObjectLibrary.hpp>
|
||||
#include <Nazara/Core/RefCounted.hpp>
|
||||
#include <Nazara/Core/Resource.hpp>
|
||||
#include <Nazara/Core/ResourceLoader.hpp>
|
||||
#include <Nazara/Core/ResourceManager.hpp>
|
||||
|
|
@ -37,7 +35,7 @@ namespace Nz
|
|||
|
||||
struct SoundBufferImpl;
|
||||
|
||||
class NAZARA_AUDIO_API SoundBuffer : public RefCounted, public Resource
|
||||
class NAZARA_AUDIO_API SoundBuffer : public Resource
|
||||
{
|
||||
friend Sound;
|
||||
|
||||
|
|
|
|||
|
|
@ -147,6 +147,15 @@ namespace Nz
|
|||
return velocity;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the default SoundBuffer loader
|
||||
* \return A reference to the default SoundBuffer loader
|
||||
*/
|
||||
SoundBufferLoader& Audio::GetSoundBufferLoader()
|
||||
{
|
||||
return m_soundBufferLoader;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the default SoundBuffer loader
|
||||
* \return A constant reference to the default SoundBuffer loader
|
||||
|
|
@ -156,6 +165,15 @@ namespace Nz
|
|||
return m_soundBufferLoader;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the default SoundStream loader
|
||||
* \return A reference to the default SoundStream loader
|
||||
*/
|
||||
SoundStreamLoader& Audio::GetSoundStreamLoader()
|
||||
{
|
||||
return m_soundStreamLoader;
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Gets the default SoundStream loader
|
||||
* \return A constant reference to the default SoundStream loader
|
||||
|
|
|
|||
Loading…
Reference in New Issue