prepared for dynamic mixer fader insertion
This commit is contained in:
parent
bb76f4d911
commit
e89eb96a37
4 changed files with 199 additions and 123 deletions
|
@ -43,10 +43,13 @@
|
||||||
|
|
||||||
|
|
||||||
/* Definitions ****************************************************************/
|
/* Definitions ****************************************************************/
|
||||||
/* audio in fader range */
|
// audio in fader range
|
||||||
#define AUD_FADER_IN_MAX 100
|
#define AUD_FADER_IN_MAX 100
|
||||||
|
|
||||||
/* audio reverberation range */
|
// audio mixer fader range
|
||||||
|
#define AUD_MIX_FADER_MAX 100
|
||||||
|
|
||||||
|
// audio reverberation range
|
||||||
#define AUD_REVERB_MAX 100
|
#define AUD_REVERB_MAX 100
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -164,6 +164,50 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, QWidget* parent,
|
||||||
/* timers --------------------------------------------------------------- */
|
/* timers --------------------------------------------------------------- */
|
||||||
/* start timer for status bar */
|
/* start timer for status bar */
|
||||||
TimerStatus.start(STATUSBAR_UPDATE_TIME);
|
TimerStatus.start(STATUSBAR_UPDATE_TIME);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// TEST
|
||||||
|
/*
|
||||||
|
QGridLayout* grid1 = new QGridLayout ( FrameAudioFaders, 2, 1 );
|
||||||
|
|
||||||
|
QSlider* pSliderChannelFader = new QSlider ( Qt::Vertical, FrameAudioFaders );
|
||||||
|
grid1->addWidget( pSliderChannelFader, 0, 0 );
|
||||||
|
|
||||||
|
pSliderChannelFader->setPageStep ( 1 );
|
||||||
|
pSliderChannelFader->setTickmarks ( QSlider::Both );
|
||||||
|
pSliderChannelFader->setRange(0, AUD_MIX_FADER_MAX);
|
||||||
|
pSliderChannelFader->setTickInterval(AUD_MIX_FADER_MAX / 9);
|
||||||
|
|
||||||
|
pSliderChannelFader->setValue ( AUD_MIX_FADER_MAX );
|
||||||
|
|
||||||
|
QLabel* pTextChannelName = new QLabel ( "Test", FrameAudioFaders );
|
||||||
|
grid1->addWidget( pTextChannelName, 1, 0 );
|
||||||
|
|
||||||
|
FrameAudioFadersLayout->insertLayout ( 0, grid1 );
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
QGridLayout* grid2 = new QGridLayout ( FrameAudioFaders, 2, 1 );
|
||||||
|
|
||||||
|
QSlider* pSliderChannelFader2 = new QSlider ( Qt::Vertical, FrameAudioFaders );
|
||||||
|
grid2->addWidget( pSliderChannelFader2, 0, 0 );
|
||||||
|
|
||||||
|
pSliderChannelFader2->setPageStep ( 1 );
|
||||||
|
pSliderChannelFader2->setTickmarks ( QSlider::Both );
|
||||||
|
pSliderChannelFader2->setRange(0, AUD_MIX_FADER_MAX);
|
||||||
|
pSliderChannelFader2->setTickInterval(AUD_MIX_FADER_MAX / 9);
|
||||||
|
|
||||||
|
pSliderChannelFader2->setValue ( AUD_MIX_FADER_MAX );
|
||||||
|
|
||||||
|
QLabel* pTextChannelName2 = new QLabel ( "Test", FrameAudioFaders );
|
||||||
|
grid2->addWidget( pTextChannelName2, 1, 0 );
|
||||||
|
|
||||||
|
FrameAudioFadersLayout->insertLayout ( 0, grid2 );
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CLlconClientDlg::~CLlconClientDlg()
|
CLlconClientDlg::~CLlconClientDlg()
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>445</width>
|
<width>597</width>
|
||||||
<height>289</height>
|
<height>289</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -426,11 +426,11 @@
|
||||||
<class>QButtonGroup</class>
|
<class>QButtonGroup</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>name</name>
|
<name>name</name>
|
||||||
<cstring>GroupBoxAudioInput</cstring>
|
<cstring>GroupBoxReverberation</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>title</name>
|
<name>title</name>
|
||||||
<string>Audio In</string>
|
<string>Reverb</string>
|
||||||
</property>
|
</property>
|
||||||
<vbox>
|
<vbox>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -441,76 +441,6 @@
|
||||||
<name>spacing</name>
|
<name>spacing</name>
|
||||||
<number>6</number>
|
<number>6</number>
|
||||||
</property>
|
</property>
|
||||||
<widget>
|
|
||||||
<class>QLayoutWidget</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Layout14</cstring>
|
|
||||||
</property>
|
|
||||||
<hbox>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>margin</name>
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>spacing</name>
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<widget>
|
|
||||||
<class>QLayoutWidget</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Layout12</cstring>
|
|
||||||
</property>
|
|
||||||
<vbox>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>margin</name>
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>spacing</name>
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<widget>
|
|
||||||
<class>QLabel</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>TextAudInFader</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>text</name>
|
|
||||||
<string>Audio
|
|
||||||
Fader</string>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>alignment</name>
|
|
||||||
<set>AlignCenter</set>
|
|
||||||
</property>
|
|
||||||
<property>
|
|
||||||
<name>hAlign</name>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
|
||||||
<class>QSlider</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>SliderAudInFader</cstring>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>pageStep</name>
|
|
||||||
<number>1</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>orientation</name>
|
|
||||||
<enum>Vertical</enum>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>tickmarks</name>
|
|
||||||
<enum>Both</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</vbox>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>QLayoutWidget</class>
|
<class>QLayoutWidget</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -534,8 +464,7 @@ Fader</string>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Reverb
|
<string>Level</string>
|
||||||
Level</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>alignment</name>
|
<name>alignment</name>
|
||||||
|
@ -566,8 +495,6 @@ Level</string>
|
||||||
</widget>
|
</widget>
|
||||||
</vbox>
|
</vbox>
|
||||||
</widget>
|
</widget>
|
||||||
</hbox>
|
|
||||||
</widget>
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>QLabel</class>
|
<class>QLabel</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -576,8 +503,7 @@ Level</string>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>Reverb Chan
|
<string>Channel</string>
|
||||||
Selection</string>
|
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>alignment</name>
|
<name>alignment</name>
|
||||||
|
@ -587,21 +513,6 @@ Selection</string>
|
||||||
<name>hAlign</name>
|
<name>hAlign</name>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget>
|
|
||||||
<class>QLayoutWidget</class>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>name</name>
|
|
||||||
<cstring>Layout11</cstring>
|
|
||||||
</property>
|
|
||||||
<hbox>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>margin</name>
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<property stdset="1">
|
|
||||||
<name>spacing</name>
|
|
||||||
<number>6</number>
|
|
||||||
</property>
|
|
||||||
<widget>
|
<widget>
|
||||||
<class>QRadioButton</class>
|
<class>QRadioButton</class>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
|
@ -610,7 +521,7 @@ Selection</string>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>L</string>
|
<string>Left</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget>
|
<widget>
|
||||||
|
@ -621,13 +532,133 @@ Selection</string>
|
||||||
</property>
|
</property>
|
||||||
<property stdset="1">
|
<property stdset="1">
|
||||||
<name>text</name>
|
<name>text</name>
|
||||||
<string>R</string>
|
<string>Right</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</hbox>
|
</vbox>
|
||||||
|
</widget>
|
||||||
|
<widget>
|
||||||
|
<class>QButtonGroup</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>GroupBoxAudioInput</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>title</name>
|
||||||
|
<string>Audio Mixer</string>
|
||||||
|
</property>
|
||||||
|
<hbox>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>margin</name>
|
||||||
|
<number>11</number>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>spacing</name>
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
|
<widget>
|
||||||
|
<class>QLayoutWidget</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>Layout15</cstring>
|
||||||
|
</property>
|
||||||
|
<vbox>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>margin</name>
|
||||||
|
<number>0</number>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>spacing</name>
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
|
<widget>
|
||||||
|
<class>QSlider</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>SliderAudInFader</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>pageStep</name>
|
||||||
|
<number>1</number>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>orientation</name>
|
||||||
|
<enum>Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>tickmarks</name>
|
||||||
|
<enum>Both</enum>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget>
|
||||||
|
<class>QLabel</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>TextAudInFader</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>text</name>
|
||||||
|
<string>Audio
|
||||||
|
Fader</string>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>alignment</name>
|
||||||
|
<set>AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>hAlign</name>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</vbox>
|
</vbox>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget>
|
||||||
|
<class>QFrame</class>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>FrameAudioFaders</cstring>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>frameShape</name>
|
||||||
|
<enum>StyledPanel</enum>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>frameShadow</name>
|
||||||
|
<enum>Sunken</enum>
|
||||||
|
</property>
|
||||||
|
<hbox>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>margin</name>
|
||||||
|
<number>11</number>
|
||||||
|
</property>
|
||||||
|
<property stdset="1">
|
||||||
|
<name>spacing</name>
|
||||||
|
<number>6</number>
|
||||||
|
</property>
|
||||||
|
<spacer>
|
||||||
|
<property>
|
||||||
|
<name>name</name>
|
||||||
|
<cstring>Spacer2</cstring>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>orientation</name>
|
||||||
|
<enum>Horizontal</enum>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>sizeType</name>
|
||||||
|
<enum>Expanding</enum>
|
||||||
|
</property>
|
||||||
|
<property>
|
||||||
|
<name>sizeHint</name>
|
||||||
|
<size>
|
||||||
|
<width>20</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</spacer>
|
||||||
|
</hbox>
|
||||||
|
</widget>
|
||||||
|
</hbox>
|
||||||
|
</widget>
|
||||||
</hbox>
|
</hbox>
|
||||||
</widget>
|
</widget>
|
||||||
<customwidgets>
|
<customwidgets>
|
||||||
|
|
|
@ -59,8 +59,6 @@ MESSAGES
|
||||||
|
|
||||||
- Gain of channel PROTMESSID_CHANNEL_GAIN
|
- Gain of channel PROTMESSID_CHANNEL_GAIN
|
||||||
|
|
||||||
for each connected client append following data:
|
|
||||||
|
|
||||||
+--------------------+--------------+
|
+--------------------+--------------+
|
||||||
| 2 bytes channel ID | 2 bytes gain |
|
| 2 bytes channel ID | 2 bytes gain |
|
||||||
+--------------------+--------------+
|
+--------------------+--------------+
|
||||||
|
|
Loading…
Reference in a new issue