Wayverb
Main Page
Related Pages
Classes
Files
File List
traits.h
1
#pragma once
2
3
#include "fftw3.h"
4
5
namespace
frequency_domain
{
6
7
template
<
typename
T>
8
struct
type_trait
;
9
10
template
<>
11
struct
type_trait
<float> final {
12
using
alloc_func_type =
float
*(size_t);
13
static
alloc_func_type& alloc;
14
};
15
16
template
<>
17
struct
type_trait
<fftwf_complex> final {
18
using
alloc_func_type = fftwf_complex*(size_t);
19
static
alloc_func_type& alloc;
20
};
21
22
}
// namespace frequency_domain
frequency_domain::type_trait
Definition:
traits.h:8
frequency_domain
Definition:
buffer.h:5
src
frequency_domain
src
traits.h
Generated by
1.8.11