aboutsummaryrefslogtreecommitdiff
path: root/include/aomusicplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aomusicplayer.h')
-rw-r--r--include/aomusicplayer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/aomusicplayer.h b/include/aomusicplayer.h
index 15014af..52c97c3 100644
--- a/include/aomusicplayer.h
+++ b/include/aomusicplayer.h
@@ -25,11 +25,11 @@ public:
const int m_channelmax = 4;
//These have to be public for the stupid sync thing
-// QWORD loop_start = 0;
-// QWORD loop_end = 0;
+ QWORD loop_start = 0;
+ QWORD loop_end = 0;
public slots:
- void play(QString p_song, int channel=0, bool crossfade=false);
+ void play(QString p_song, int channel=0, bool loop=false, int effect_flags=0);
void stop(int channel=0);
private:
@@ -44,6 +44,7 @@ private:
// Channel 2 = extra
// Channel 3 = extra
HSTREAM m_stream_list[4];
+ HSYNC loop_sync[4];
};
#elif defined(QTAUDIO)
class AOMusicPlayer