29 #include <unordered_map> 43 unsigned int m_currentID;
48 std::unordered_map<unsigned int, std::shared_ptr<IHandle>> m_handles;
53 std::shared_ptr<IDevice> m_device;
63 std::shared_ptr<VolumeStorage> m_volumeStorage;
82 std::shared_ptr<IHandle> play(std::shared_ptr<ISound> sound);
104 void setVolume(
float volume);
115 std::shared_ptr<VolumeStorage> getSharedVolume();
124 static void cleanHandleCallback(
void* data);
This class represents a category of related sounds which are currently playing and allows to control ...
Definition: PlaybackCategory.h:37
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
Defines the IHandle interface as well as possible states of the handle.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
Status
Status of a playback handle.
Definition: IHandle.h:30