|
MOUNTAIN_API bool_t | SetSourceData (const uint8_t *buffer, int64_t length) override |
|
MOUNTAIN_API void | Load () override |
|
MOUNTAIN_API void | Unload () override |
|
MOUNTAIN_API void | ResetSourceData () override |
|
template<typename T = uint8_t> |
const T * | GetData () const |
| Gets the raw data of the texture. More...
|
|
template<typename T = uint8_t> |
T * | GetData () |
| Gets the raw data of the texture. More...
|
|
MOUNTAIN_API int32_t | GetDataSize () const |
|
MOUNTAIN_API uint16_t | GetChannels () const |
|
MOUNTAIN_API int32_t | GetSampleRate () const |
|
MOUNTAIN_API uint16_t | GetBitDepth () const |
|
MOUNTAIN_API const AudioBuffer * | GetBuffer () const |
|
MOUNTAIN_API AudioTrackFormat | GetFormat () const |
|
Definition at line 16 of file audio_track.hpp.
◆ GetData() [1/2]
template<typename T = uint8_t>
const T* Mountain::AudioTrack::GetData |
( |
| ) |
const |
Gets the raw data of the texture.
- Template Parameters
-
- Returns
- Data
◆ GetData() [2/2]
template<typename T = uint8_t>
T* Mountain::AudioTrack::GetData |
( |
| ) |
|
Gets the raw data of the texture.
- Template Parameters
-
- Returns
- Data
◆ FileExtensions
MOUNTAIN_API constexpr std::array Mountain::AudioTrack::FileExtensions |
|
static |
Initial value:{
".wav",
".wave",
".mp3",
".ogg"
}
Allowed extensions for audio files.
Definition at line 21 of file audio_track.hpp.
The documentation for this class was generated from the following file: