VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::AudioClip Struct Reference

Public Member Functions

 AudioClip (const std::string &path, vex::VirtualFileSystem *vfs)

Public Attributes

Uint8 * buffer = nullptr
Uint32 length = 0
SDL_AudioSpec spec
bool valid = false
bool isVorbisAllocated = false

Detailed Description

Definition at line 17 of file AudioSourceComponent.hpp.

Constructor & Destructor Documentation

◆ AudioClip()

vex::AudioClip::AudioClip ( const std::string & path,
vex::VirtualFileSystem * vfs )

Definition at line 7 of file AudioSystem.cpp.

◆ ~AudioClip()

vex::AudioClip::~AudioClip ( )
inline

Definition at line 26 of file AudioSourceComponent.hpp.

Member Data Documentation

◆ buffer

Uint8* vex::AudioClip::buffer = nullptr

Definition at line 18 of file AudioSourceComponent.hpp.

◆ isVorbisAllocated

bool vex::AudioClip::isVorbisAllocated = false

Definition at line 22 of file AudioSourceComponent.hpp.

◆ length

Uint32 vex::AudioClip::length = 0

Definition at line 19 of file AudioSourceComponent.hpp.

◆ spec

SDL_AudioSpec vex::AudioClip::spec

Definition at line 20 of file AudioSourceComponent.hpp.

◆ valid

bool vex::AudioClip::valid = false

Definition at line 21 of file AudioSourceComponent.hpp.


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