|
Brenta Engine 1.0
|
Struct containing information about an audio file. More...
#include <engine_audio.hpp>
Data Fields | |
| std::string | path |
| The path to the audio file. | |
| Uint8 * | audio_buf |
| Pointer to audio buffer. | |
| Uint32 | audio_len |
| Length of audio buffer. | |
| SDL_AudioSpec | spec |
| Information about the audio format. | |
Struct containing information about an audio file.
This struct contains information about an audio file loaded by the engine. It contains the path to the audio file, the audio buffer, the length of the audio buffer and the audio format. It is autocamatically created by the engine when an audio file is loaded with the LoadAudio function.
Definition at line 52 of file engine_audio.hpp.
| Uint8* Brenta::Types::AudioFile::audio_buf |
Pointer to audio buffer.
Definition at line 61 of file engine_audio.hpp.
| Uint32 Brenta::Types::AudioFile::audio_len |
Length of audio buffer.
Definition at line 65 of file engine_audio.hpp.
| std::string Brenta::Types::AudioFile::path |
The path to the audio file.
Definition at line 57 of file engine_audio.hpp.
| SDL_AudioSpec Brenta::Types::AudioFile::spec |
Information about the audio format.
Definition at line 69 of file engine_audio.hpp.