From 302d883f34864bc66a5e04532ae27d7e89fd94e8 Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 Jan 2026 09:31:13 +0100 Subject: style: Add 3-line descriptive headers to all source files This commit applies a new project-wide rule that every source file must begin with a concise 3-line comment header describing its purpose. - Updated CONTRIBUTING.md with the new rule. - Applied headers to all .cc and .h files in src/ and tools/. - Fixed various minor compilation errors and missing includes discovered during the header update process. --- src/audio/window.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/audio/window.h') diff --git a/src/audio/window.h b/src/audio/window.h index 8cb5dd8..6196164 100644 --- a/src/audio/window.h +++ b/src/audio/window.h @@ -1,5 +1,9 @@ +// This file is part of the 64k demo project. +// It defines constants and interface for windowing functions. +// Primary implementation is a 512-point Hamming window. + #pragma once #define WINDOW_SIZE 512 -void hamming_window_512(float window[WINDOW_SIZE]); +void hamming_window_512(float *window); \ No newline at end of file -- cgit v1.2.3