sfml_impl 0.1.0
Vendor SFML 3.0.2 : IGraphic2Module / IAudioModule
Loading...
Searching...
No Matches
SfmlSoundBuffer Class Reference

Sfml SoundBuffer class - owns the loaded samples. SfmlSound only references it (sf::Sound itself already takes a const sf::SoundBuffer& natively, this contract matches sfml's own model). More...

#include <SfmlSoundBuffer.hpp>

Inheritance diagram for SfmlSoundBuffer:
Collaboration diagram for SfmlSoundBuffer:

Public Member Functions

 SfmlSoundBuffer (std::string path)
 
 ~SfmlSoundBuffer ()=default
 
bool isReady () const override
 
float getLength () const override
 
const sf::SoundBuffer & handle () const
 

Detailed Description

Sfml SoundBuffer class - owns the loaded samples. SfmlSound only references it (sf::Sound itself already takes a const sf::SoundBuffer& natively, this contract matches sfml's own model).

Constructor & Destructor Documentation

◆ SfmlSoundBuffer()

SfmlSoundBuffer::SfmlSoundBuffer ( std::string  path)
inline

◆ ~SfmlSoundBuffer()

SfmlSoundBuffer::~SfmlSoundBuffer ( )
default

Member Function Documentation

◆ getLength()

float SfmlSoundBuffer::getLength ( ) const
inlineoverride

◆ handle()

const sf::SoundBuffer & SfmlSoundBuffer::handle ( ) const
inline

◆ isReady()

bool SfmlSoundBuffer::isReady ( ) const
inlineoverride

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