Misc: Make struct member functions file-local

This commit is contained in:
Stenzek
2023-11-18 16:21:51 +10:00
parent bee1f986a9
commit cce7be4723
39 changed files with 680 additions and 595 deletions

View File

@ -6,6 +6,7 @@
#include "common/log.h"
Log_SetChannel(WAVWriter);
namespace {
#pragma pack(push, 1)
struct WAV_HEADER
{
@ -32,8 +33,7 @@ struct WAV_HEADER
} data_chunk_header;
};
#pragma pack(pop)
namespace Common {
} // namespace
WAVWriter::WAVWriter() = default;
@ -114,5 +114,3 @@ bool WAVWriter::WriteHeader()
return (std::fwrite(&header, sizeof(header), 1, m_file) == 1);
}
} // namespace Common