Beast - Music Synthesizer and Composer  0.11.1+10.g2da35
bsemixer.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __BSE_MIXER_H__
3 #define __BSE_MIXER_H__
4 
5 #include <bse/bseplugin.hh>
6 #include <bse/bsesource.hh>
7 
8 
9 /* --- object type macros --- */
10 #define BSE_TYPE_MIXER (bse_mixer_get_type())
11 #define BSE_MIXER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), BSE_TYPE_MIXER, BseMixer))
12 #define BSE_MIXER_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), BSE_TYPE_MIXER, BseMixerClass))
13 #define BSE_IS_MIXER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), BSE_TYPE_MIXER))
14 #define BSE_IS_MIXER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), BSE_TYPE_MIXER))
15 #define BSE_MIXER_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS ((object), BSE_TYPE_MIXER, BseMixerClass))
16 #define BSE_MIXER_N_INPUTS (4)
17 
18 struct BseMixer : BseSource {
19  float master_volume_factor;
20  float volume_factors[BSE_MIXER_N_INPUTS];
21 };
23 {};
24 
25 enum
26 {
27  BSE_MIXER_OCHANNEL_MONO
28 };
29 #endif /* __BSE_MIXER_H__ */
Definition: bsemixer.hh:22
Definition: bsemixer.hh:18
Definition: bsesource.hh:82
Definition: bsesource.hh:90