Format like smack-a-brother, and write comments as sentences

Four-space indents, braces on their own lines, and one-statement bodies without braces.
Semicolons in comments became full stops.
Designated initializers may leave fields out without a warning.
This commit is contained in:
shweet committed 2026-11-22 17:30:03 -05:00
1 parent 40f6b554b5
commit 7afdf709c3
176 files changed
+20500 -19048

No files matched your search

+4 -4
View File
@@ -3,11 +3,11 @@
#include <SDL3_mixer/SDL_mixer.h>
#include <vector>
class AudioStream
{
class AudioStream
{
static void callback(void*, MIX_Mixer*, const SDL_AudioSpec*, float*, int);
public:
public:
std::vector<float> stream;
SDL_AudioSpec spec = {};
int callbackSamples = 0;
@@ -16,4 +16,4 @@
bool isFirstCallbackCaptured = false;
AudioStream(MIX_Mixer*);
};
};