blob: c0c47210c3a128452c33d9846692d3db68f59b8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef AOMUSICPLAYER_H
#define AOMUSICPLAYER_H
#include "bass.h"
#include "aoapplication.h"
#include <QWidget>
class AOMusicPlayer
{
public:
AOMusicPlayer(QWidget *parent, AOApplication *p_ao_app);
~AOMusicPlayer();
void play(QString p_song, int p_volume);
void set_volume(int p_value);
private:
QWidget *m_parent;
AOApplication *ao_app;
HSTREAM m_stream;
};
#endif // AOMUSICPLAYER_H
|