Core/AppFilesystemComponent: Add support for default resource parameters
This commit is contained in:
@@ -45,6 +45,8 @@ namespace Nz
|
||||
friend Sound;
|
||||
|
||||
public:
|
||||
using Params = SoundBufferParams;
|
||||
|
||||
SoundBuffer() = default;
|
||||
SoundBuffer(AudioFormat format, UInt64 sampleCount, UInt32 sampleRate, const Int16* samples);
|
||||
SoundBuffer(const SoundBuffer&) = delete;
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
struct SoundStreamParams : public ResourceParameters
|
||||
struct SoundStreamParams : ResourceParameters
|
||||
{
|
||||
bool forceMono = false;
|
||||
|
||||
@@ -33,6 +33,8 @@ namespace Nz
|
||||
class NAZARA_AUDIO_API SoundStream : public Resource
|
||||
{
|
||||
public:
|
||||
using Params = SoundStreamParams;
|
||||
|
||||
SoundStream() = default;
|
||||
virtual ~SoundStream();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user