BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
bseprobe.idl
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 include "bsecxxmodule.idl";
3 namespace Bse {
4 
5 record ProbeFeatures {
6  Bool probe_range;
7  Bool probe_energie;
8  Bool probe_samples;
9  Bool probe_fft;
10 };
11 
12 record Probe {
13  Int channel_id;
14  Num block_stamp;
15  Real mix_freq;
16  ProbeFeatures probe_features;
17  Real min; // FIXME: rename to range_min
18  Real max;
19  Real energie;
20  FloatSeq sample_data;
21  FloatSeq fft_data;
22 };
23 sequence ProbeSeq {
24  Probe probes;
25 };
26 
27 record ProbeRequest {
28  Source source;
29  Int channel_id;
30  Real frequency;
31  ProbeFeatures probe_features;
32 };
33 sequence ProbeRequestSeq {
34  ProbeRequest probe_requests;
35 };
36 void source_request_probes (Source source,
37  Int ochannel_id,
38  ProbeFeatures probe_features);
39 void source_mass_request (ProbeRequestSeq prseq);
40 Num source_get_tick_stamp (Source obj);
41 Int source_get_mix_freq (Source obj);
42 
43 };