From 41c30cdf376730a68fcda69b57b1139f143a5543 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 26 Dec 2018 19:53:20 +0100 Subject: Fix indentation and code-style. --- src/soundplayer.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/soundplayer.h') diff --git a/src/soundplayer.h b/src/soundplayer.h index c5b36d4..8502e6e 100644 --- a/src/soundplayer.h +++ b/src/soundplayer.h @@ -25,36 +25,36 @@ * along with Kaiman; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef __KAIMAN_SOUNDPLAYER_H__ -#define __KAIMAN_SOUNDPLAYER_H__ +#pragma once #include #include #include #include -class QueueItem { +class QueueItem +{ public: - float *samples; - size_t pos; - size_t size; + float *samples; + size_t pos; + size_t size; }; -class SoundPlayer : public QThread { +class SoundPlayer + : public QThread +{ public: - SoundPlayer(); - ~SoundPlayer(); - - void playFile(QString file); + SoundPlayer(); + ~SoundPlayer(); - void run(); + void playFile(QString file); + + void run(); private: - volatile bool running; - QMutex mutex; + volatile bool running; + QMutex mutex; - QList queue; - QList active; + QList queue; + QList active; }; - -#endif/*__KAIMAN_SOUNDPLAYER_H__*/ -- cgit v1.2.3