@@ -184,6 +184,15 @@ CClient::CClient ( const quint16 iPortNumber,
184184 QObject::connect ( &Sound, &CSound::ControllerInFaderLevel,
185185 this , &CClient::OnControllerInFaderLevel );
186186
187+ QObject::connect ( &Sound, &CSound::ControllerInPanValue,
188+ this , &CClient::OnControllerInPanValue );
189+
190+ QObject::connect ( &Sound, &CSound::ControllerInFaderIsSolo,
191+ this , &CClient::OnControllerInFaderIsSolo );
192+
193+ QObject::connect ( &Sound, &CSound::ControllerInFaderIsMute,
194+ this , &CClient::OnControllerInFaderIsMute );
195+
187196 QObject::connect ( &Socket, &CHighPrioSocket::InvalidPacketReceived,
188197 this , &CClient::OnInvalidPacketReceived );
189198
@@ -707,6 +716,43 @@ void CClient::OnControllerInFaderLevel ( int iChannelIdx,
707716 emit ControllerInFaderLevel ( iChannelIdx, iValue );
708717}
709718
719+ void CClient::OnControllerInPanValue ( int iChannelIdx,
720+ int iValue )
721+ {
722+ // in case of a headless client the panners cannot be moved so we need
723+ // to send the controller information directly to the server
724+ #ifdef HEADLESS
725+ // channel index is valid
726+ SetRemoteChanPan ( iChannelIdx, static_cast <float >( iValue ) / AUD_MIX_PAN_MAX);
727+ #endif
728+
729+ emit ControllerInPanValue ( iChannelIdx, iValue );
730+ }
731+
732+ void CClient::OnControllerInFaderIsSolo ( int iChannelIdx,
733+ bool bIsSolo )
734+ {
735+ // in case of a headless client the buttons are not displayed so we need
736+ // to send the controller information directly to the server
737+ #ifdef HEADLESS
738+ // FIXME: no idea what to do here.
739+ #endif
740+
741+ emit ControllerInFaderIsSolo ( iChannelIdx, bIsSolo );
742+ }
743+
744+ void CClient::OnControllerInFaderIsMute ( int iChannelIdx,
745+ bool bIsMute )
746+ {
747+ // in case of a headless client the buttons are not displayed so we need
748+ // to send the controller information directly to the server
749+ #ifdef HEADLESS
750+ // FIXME: no idea what to do here.
751+ #endif
752+
753+ emit ControllerInFaderIsMute ( iChannelIdx, bIsMute );
754+ }
755+
710756void CClient::OnClientIDReceived ( int iChanID )
711757{
712758 // for headless mode we support to mute our own signal in the personal mix
0 commit comments