1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Bring that Whole New World to the Old Continent too

Applies the clang-format style to the 2.1 branch as done for master in
5dbf1809c6.
This commit is contained in:
Rémi Verschelde
2017-03-19 00:36:26 +01:00
parent 1d418afe86
commit f8db8a3faa
1308 changed files with 147754 additions and 174357 deletions

View File

@@ -36,9 +36,8 @@
class AudioDriverAndroid : public AudioDriverSW {
static Mutex *mutex;
static AudioDriverAndroid* s_ad;
static AudioDriverAndroid *s_ad;
static jobject io;
static jmethodID _init_audio;
static jmethodID _write_buffer;
@@ -50,21 +49,19 @@ class AudioDriverAndroid : public AudioDriverSW {
static jclass cls;
static jobject audioBuffer;
static void* audioBufferPinned;
static int32_t* audioBuffer32;
static void *audioBufferPinned;
static int32_t *audioBuffer32;
static int audioBufferFrames;
static int mix_rate;
public:
void set_singleton();
virtual const char* get_name() const;
virtual const char *get_name() const;
virtual Error init();
virtual void start();
virtual int get_mix_rate() const ;
virtual int get_mix_rate() const;
virtual OutputFormat get_output_format() const;
virtual void lock();
virtual void unlock();
@@ -72,7 +69,7 @@ public:
virtual void set_pause(bool p_pause);
static void setup( jobject act);
static void setup(jobject act);
static void thread_func(JNIEnv *env);
AudioDriverAndroid();