raylib_impl 0.1.0
Vendor raylib 5.5 : IGraphic2Module / IGraphic3Module / IAudioModule
Loading...
Searching...
No Matches
RaySoundBuffer Class Reference

Raylib SoundBuffer class - owns the loaded samples (raylib's own LoadSound() result). RaySound instances are LoadSoundAlias()'d from this and don't own the samples themselves. More...

#include <RaySoundBuffer.hpp>

Inheritance diagram for RaySoundBuffer:
Collaboration diagram for RaySoundBuffer:

Public Member Functions

 RaySoundBuffer (std::string path)
 
 ~RaySoundBuffer ()
 
bool isReady () const override
 
float getLength () const override
 
raylib::Sound handle () const
 

Detailed Description

Raylib SoundBuffer class - owns the loaded samples (raylib's own LoadSound() result). RaySound instances are LoadSoundAlias()'d from this and don't own the samples themselves.

Constructor & Destructor Documentation

◆ RaySoundBuffer()

RaySoundBuffer::RaySoundBuffer ( std::string  path)
inline

◆ ~RaySoundBuffer()

RaySoundBuffer::~RaySoundBuffer ( )
inline

Member Function Documentation

◆ getLength()

float RaySoundBuffer::getLength ( ) const
inlineoverride

◆ handle()

raylib::Sound RaySoundBuffer::handle ( ) const
inline

◆ isReady()

bool RaySoundBuffer::isReady ( ) const
inlineoverride

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