mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
AFV initial commit
This commit is contained in:
committed by
Mat Sutcliffe
parent
7030302e73
commit
b5a2f2ad13
22
src/blacksound/sampleprovider/resourcesound.h
Normal file
22
src/blacksound/sampleprovider/resourcesound.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef RESOURCESOUND_H
|
||||
#define RESOURCESOUND_H
|
||||
|
||||
#include "blacksound/blacksoundexport.h"
|
||||
#include "blacksound/wav/wavfile.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
|
||||
class ResourceSound
|
||||
{
|
||||
public:
|
||||
ResourceSound(const QString &audioFileName);
|
||||
|
||||
const QVector<qint16> &audioData();
|
||||
|
||||
private:
|
||||
WavFile *m_wavFile;
|
||||
QVector<qint16> m_samples;
|
||||
};
|
||||
|
||||
#endif // RESOURCESOUND_H
|
||||
Reference in New Issue
Block a user