From 13942345c6a3e7e1625c6c26cc2f2f368a3bff23 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Fri, 17 Apr 2020 21:57:16 -0500 Subject: Run clang-format on entire project Indentation fixed to 2 spaces per tab. Braces set to Stroustrup style. Lines reflow at 80 characters. One-line method bodies are on the same line as the signature. Space always after `//`. No indentation on preprocessor macros. Includes are sorted lexicographically. If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame. --- include/aosfxplayer.h | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'include/aosfxplayer.h') diff --git a/include/aosfxplayer.h b/include/aosfxplayer.h index 5b4d2ec..af3aef6 100644 --- a/include/aosfxplayer.h +++ b/include/aosfxplayer.h @@ -9,13 +9,12 @@ #include "aoapplication.h" -#include -#include #include #include +#include +#include -class AOSfxPlayer : public QObject -{ +class AOSfxPlayer : public QObject { Q_OBJECT public: AOSfxPlayer(QWidget *parent, AOApplication *p_ao_app); @@ -33,11 +32,11 @@ private: void set_volume_internal(qreal p_volume); - #if defined(BASSAUDIO) +#if defined(BASSAUDIO) HSTREAM m_stream; - #elif defined(QTAUDIO) - QSoundEffect m_sfx; - #endif +#elif defined(QTAUDIO) + QSoundEffect m_sfx; +#endif }; #endif // AOSFXPLAYER_H -- cgit