From c9f52b7223685d2e7fca925594171f94dd8c6e3b Mon Sep 17 00:00:00 2001 From: TrickyLeifa Date: Wed, 15 May 2024 00:00:17 +0200 Subject: Ported to CMake, ... * Ported the project to CMake * Android and Mac support dropped for the time being. * Tests, BASS and Discord-RPC are now options * Restructured and reformated the project. * Merged `include` and `src` * Renamed `resource` to `data` * Renamed various files * External libraries headers are no longer included in `src` * Replaced header guards with #pragma once * Multiple refactors (keywords, headers) * Added Qt6 compatibility * Removed various unused functions and headers * Reworked AOPacket * When content is passed to AOPacket, it should be ensured that the content is already decoded. * Encoding/decoding are now static methods. * Fixed various memory leaks * Removed animation code for AOImage * AOImage is always using static images * Simplified ChatLogPiece --- include/aoblipplayer.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 include/aoblipplayer.h (limited to 'include/aoblipplayer.h') diff --git a/include/aoblipplayer.h b/include/aoblipplayer.h deleted file mode 100644 index ea2dcd38..00000000 --- a/include/aoblipplayer.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef AOBLIPPLAYER_H -#define AOBLIPPLAYER_H - -#include "bass.h" -#include "bassopus.h" - -#include "aoapplication.h" - -#include -#include -#include -#include - -class AOBlipPlayer { -public: - AOBlipPlayer(QWidget *parent, AOApplication *p_ao_app); - - void set_blips(QString p_sfx); - void blip_tick(); - void set_volume(int p_volume); - void set_muted(bool toggle); - - int m_cycle = 0; - -private: - QWidget *m_parent; - AOApplication *ao_app; - qreal m_volume; - - bool m_muted = false; - - void set_volume_internal(qreal p_volume); - - HSTREAM m_stream_list[5]; -}; - -#endif // AOBLIPPLAYER_H -- cgit