Initial commit to the repository
[deb_shairplay.git] / AirTV-Qt / raopcallbackhandler.h
1 #ifndef RAOPCALLBACKHANDLER_H
2 #define RAOPCALLBACKHANDLER_H
3
4 #include <QObject>
5
6 #include "audiooutput.h"
7
8 class RaopCallbackHandler : public QObject
9 {
10 Q_OBJECT
11 public:
12 explicit RaopCallbackHandler(QObject *parent = 0);
13
14 private:
15 QList<AudioOutput*> m_outputList;
16
17 signals:
18
19 public slots:
20 void audioInit(void *session, int bits, int channels, int samplerate);
21 void audioSetVolume(void *session, float volume);
22 void audioProcess(void *session, void *buffer, int buflen);
23 void audioFlush(void *session);
24 void audioDestroy(void *session);
25 };
26
27 #endif // RAOPCALLBACKHANDLER_H