Release 0.36.14
[vala-gnome.git] / vapi / gstreamer-fft-1.0.vapi
blob4b226a4ada0e9ec6f2c68850579685e2e2ec5fad
1 /* gstreamer-fft-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstFft", gir_version = "1.0", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         namespace FFT {
6                 [CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
7                 [Compact]
8                 [GIR (name = "FFTF32")]
9                 public class F32 {
10                         public F32 (int len, bool inverse);
11                         public void fft (float timedata, Gst.FFT.F32Complex freqdata);
12                         public void free ();
13                         public void inverse_fft (Gst.FFT.F32Complex freqdata, float timedata);
14                         public void window (float timedata, Gst.FFT.Window window);
15                 }
16                 [CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
17                 [Compact]
18                 [GIR (name = "FFTF64")]
19                 public class F64 {
20                         public F64 (int len, bool inverse);
21                         public void fft (double timedata, Gst.FFT.F64Complex freqdata);
22                         public void free ();
23                         public void inverse_fft (Gst.FFT.F64Complex freqdata, double timedata);
24                         public void window (double timedata, Gst.FFT.Window window);
25                 }
26                 [CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
27                 [Compact]
28                 [GIR (name = "FFTS16")]
29                 public class S16 {
30                         public S16 (int len, bool inverse);
31                         public void fft (int16 timedata, Gst.FFT.S16Complex freqdata);
32                         public void free ();
33                         public void inverse_fft (Gst.FFT.S16Complex freqdata, int16 timedata);
34                         public void window (int16 timedata, Gst.FFT.Window window);
35                 }
36                 [CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
37                 [Compact]
38                 [GIR (name = "FFTS32")]
39                 public class S32 {
40                         public S32 (int len, bool inverse);
41                         public void fft (int32 timedata, Gst.FFT.S32Complex freqdata);
42                         public void free ();
43                         public void inverse_fft (Gst.FFT.S32Complex freqdata, int32 timedata);
44                         public void window (int32 timedata, Gst.FFT.Window window);
45                 }
46                 [CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
47                 [GIR (name = "FFTF32Complex")]
48                 public struct F32Complex {
49                         public float r;
50                         public float i;
51                 }
52                 [CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
53                 [GIR (name = "FFTF64Complex")]
54                 public struct F64Complex {
55                         public double r;
56                         public double i;
57                 }
58                 [CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
59                 [GIR (name = "FFTS16Complex")]
60                 public struct S16Complex {
61                         public int16 r;
62                         public int16 i;
63                 }
64                 [CCode (cheader_filename = "gst/fft/fft.h", has_type_id = false)]
65                 [GIR (name = "FFTS32Complex")]
66                 public struct S32Complex {
67                         public int32 r;
68                         public int32 i;
69                 }
70                 [CCode (cheader_filename = "gst/fft/fft.h", cprefix = "GST_FFT_WINDOW_", has_type_id = false)]
71                 [GIR (name = "FFTWindow")]
72                 public enum Window {
73                         RECTANGULAR,
74                         HAMMING,
75                         HANN,
76                         BARTLETT,
77                         BLACKMAN
78                 }
79                 [CCode (cheader_filename = "gst/fft/fft.h", cname = "gst_fft_next_fast_length")]
80                 public static int fft_next_fast_length (int n);
81         }