|
swift
|
File from resources. More...
#include <resourcesound.h>
Public Member Functions | |
| CResourceSound () | |
| Constructor. | |
| CResourceSound (const QString &audioFileName) | |
| Sound of audio file. | |
| bool | load () |
| Load the attached resource file. | |
| bool | isLoaded () |
| Is resource already loaded? | |
| const QVector< float > & | audioData () const |
| Audio data. | |
| const QString & | getFileName () const |
| Corresponding file. | |
| bool | isSameFileName (const QString &fn) const |
| Is same file? | |
File from resources.
Definition at line 30 of file resourcesound.h.
| swift::sound::sample_provider::CResourceSound::CResourceSound | ( | ) |
Constructor.
Definition at line 19 of file resourcesound.cpp.
| swift::sound::sample_provider::CResourceSound::CResourceSound | ( | const QString & | audioFileName | ) |
Sound of audio file.
Definition at line 24 of file resourcesound.cpp.
|
inline |
Audio data.
Definition at line 46 of file resourcesound.h.
| const QString & swift::sound::sample_provider::CResourceSound::getFileName | ( | ) | const |
Corresponding file.
Definition at line 55 of file resourcesound.cpp.
|
inline |
Is resource already loaded?
Definition at line 43 of file resourcesound.h.
| bool swift::sound::sample_provider::CResourceSound::isSameFileName | ( | const QString & | fn | ) | const |
Is same file?
Definition at line 61 of file resourcesound.cpp.
| bool swift::sound::sample_provider::CResourceSound::load | ( | ) |
Load the attached resource file.
Definition at line 29 of file resourcesound.cpp.