Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reformat & make constants in defs_recording more readable #2870

Merged
merged 1 commit into from
Jul 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/recording/defs_recording.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#define ENCODING_WAVE "WAV"
#define ENCODING_FLAC "FLAC"
#define ENCODING_AIFF "AIFF"
#define ENCODING_OGG "OGG"
#define ENCODING_OGG "OGG"
#define ENCODING_MP3 "MP3"
#define ENCODING_OPUS "Opus"

Expand All @@ -27,10 +27,10 @@

// Byte conversions. Slightly rounded to leave enough room to add
// closing frames by the encoder. All sizes are in bytes.
#define SIZE_650MB Q_UINT64_C(680000000)
#define SIZE_700MB Q_UINT64_C(730000000)
#define SIZE_1GB Q_UINT64_C(1070000000)
#define SIZE_2GB Q_UINT64_C(2140000000)
#define SIZE_4GB Q_UINT64_C(4280000000)
#define SIZE_650MB Q_UINT64_C(680'000'000)
#define SIZE_700MB Q_UINT64_C(730'000'000)
#define SIZE_1GB Q_UINT64_C(1'070'000'000)
#define SIZE_2GB Q_UINT64_C(2'140'000'000)
#define SIZE_4GB Q_UINT64_C(4'280'000'000)

#endif