Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
sound::SoundDataUnopenFile Struct Referencefinal

Sound file is in file system. More...

#include <sound_data.h>

+ Inheritance diagram for sound::SoundDataUnopenFile:
+ Collaboration diagram for sound::SoundDataUnopenFile:

Public Member Functions

 SoundDataUnopenFile (const std::string &path)
 
std::shared_ptr< ISoundDataOpenopen (const std::string &sound_name) &&override
 
- Public Member Functions inherited from sound::ISoundDataUnopen
virtual ~ISoundDataUnopen ()=default
 

Public Attributes

std::string m_path
 

Detailed Description

Sound file is in file system.

Constructor & Destructor Documentation

◆ SoundDataUnopenFile()

sound::SoundDataUnopenFile::SoundDataUnopenFile ( const std::string & path)
inlineexplicit

Member Function Documentation

◆ open()

std::shared_ptr< ISoundDataOpen > sound::SoundDataUnopenFile::open ( const std::string & sound_name) &&
overridevirtual

Implements sound::ISoundDataUnopen.

References sound::ISoundDataOpen::fromOggFile(), and warningstream.

+ Here is the call graph for this function:

Member Data Documentation

◆ m_path

std::string sound::SoundDataUnopenFile::m_path

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