summaryrefslogtreecommitdiff
path: root/src/audio/dct.h
blob: ec9f651b7ace9a8b87c810af27f10911d9b7decf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// This file is part of the 64k demo project.
// It defines constants and shared structures for DCT operations.
// The demo uses a 512-point DCT for spectral synthesis.

#pragma once

#define DCT_SIZE     512
#define OLA_HOP_SIZE 256
#define OLA_OVERLAP  256

// Forward declarations
void fdct_512(const float* input, float* output);
void idct_512(const float* input, float* output);