11 #include <audio/utility/safeptr.h>
14 #include <audio/core/audionode.h>
15 #include <audio/core/audionodemanager.h>
67 void setChannel(
int channel);
92 void process()
override;
94 std::atomic<bool> mPlaying = {
false};
95 std::atomic<int> mChannel = {0};
96 std::atomic<double> mPosition = {0};
97 std::atomic<ControllerValue> mSpeed = {1.f};
98 SafePtr<MultiSampleBuffer> mBuffer =
nullptr;
DiscreteTimeValue getPosition() const
Definition: bufferplayernode.h:83
int getChannel() const
Definition: bufferplayernode.h:88
Definition: bufferplayernode.h:25
Definition: audionodemanager.h:33
float ControllerValue
Definition: audiotypes.h:113
Definition: audiopin.h:197
Definition: audionode.h:33
nap::uint64 DiscreteTimeValue
Definition: audiotypes.h:125
BufferPlayerNode(NodeManager &manager)
Definition: bufferplayernode.h:30
Definition: templateapp.h:17
ControllerValue getSpeed() const
Definition: bufferplayernode.h:78