aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aomusicplayer.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/aomusicplayer.h b/include/aomusicplayer.h
index 037525f..35bd784 100644
--- a/include/aomusicplayer.h
+++ b/include/aomusicplayer.h
@@ -19,14 +19,21 @@ public:
AOMusicPlayer(QWidget *parent, AOApplication *p_ao_app);
virtual ~AOMusicPlayer();
void set_volume(int p_value, int channel = -1);
- void set_looping(bool toggle, int channel = 0);
+ void set_looping(bool loop_song, int channel = 0);
void set_muted(bool toggle);
const int m_channelmax = 4;
// These have to be public for the stupid sync thing
- int loop_start[4] = {0, 0, 0, 0};
- int loop_end[4] = {0, 0, 0, 0};
+ /**
+ * @brief The starting sample of the AB-Loop.
+ */
+ unsigned int loop_start[4] = {0, 0, 0, 0};
+
+ /**
+ * @brief The end sample of the AB-Loop.
+ */
+ unsigned int loop_end[4] = {0, 0, 0, 0};
QFutureWatcher<QString> music_watcher;