Brenta Engine 1.0
Loading...
Searching...
No Matches
Brenta::Types::AudioFile Struct Reference

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.
 

Detailed Description

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.

Field Documentation

◆ audio_buf

Uint8* Brenta::Types::AudioFile::audio_buf

Pointer to audio buffer.

Definition at line 61 of file engine_audio.hpp.

◆ audio_len

Uint32 Brenta::Types::AudioFile::audio_len

Length of audio buffer.

Definition at line 65 of file engine_audio.hpp.

◆ path

std::string Brenta::Types::AudioFile::path

The path to the audio file.

Definition at line 57 of file engine_audio.hpp.

◆ spec

SDL_AudioSpec Brenta::Types::AudioFile::spec

Information about the audio format.

Definition at line 69 of file engine_audio.hpp.


The documentation for this struct was generated from the following file: