| 123456789101112131415161718192021222324252627 |
- $#include "Sound.h"
- class Sound : public Resource
- {
- public:
- // Methods:
- float GetLength() const;
- unsigned GetSampleSize() const;
- float GetFrequency();
-
- void SetLooped(bool enable);
- bool IsLooped() const;
-
- bool IsSixteenBit() const;
- bool IsStereo() const;
- bool IsCompressed() const;
- // Properties:
- tolua_readonly tolua_property__get_set float length;
- tolua_readonly tolua_property__get_set unsigned sampleSize;
- tolua_readonly tolua_property__get_set float frequency;
- tolua_property__is_set bool looped;
- tolua_readonly tolua_property__is_set bool sixteenBit;
- tolua_readonly tolua_property__is_set bool stereo;
- tolua_readonly tolua_property__is_set bool compressed;
- };
|