Applying renaming of VA event ids

parent bd64f580
......@@ -387,10 +387,10 @@ void RedstartWindow::HandleVAEvent( const CVAEvent* pEvent )
// Handle pushable events
switch( pEvent->iEventType )
{
case CVAEvent::VA_EVENT_PROGRESS_UPDATE:
case CVAEvent::PROGRESS_UPDATE:
//ui->statusBar->showMessage( pEvent->sParam.c_str() );
break;
case CVAEvent::VA_EVENT_MEASURES_UPDATE:
case CVAEvent::MEASURES_UPDATE:
UpdateMeasures( pEvent->vfInputRMSs, pEvent->vfInputPeaks, pEvent->vfOutputRMSs, pEvent->vfOutputPeaks );
break;
}
......@@ -402,23 +402,23 @@ void RedstartWindow::HandleVAEvent( const CVAEvent* pEvent )
switch( pEvent->iEventType )
{
case CVAEvent::VA_EVENT_GLOBAL_AURALIZATION_MODE_CHANGED:
case CVAEvent::GLOBAL_AURALIZATION_MODE_CHANGED:
emit GlobalAuralizationModeChanged( pEvent->iAuralizationMode );
break;
}
switch( pEvent->iEventType )
{
case CVAEvent::VA_EVENT_INPUT_GAIN_CHANGED:
case CVAEvent::INPUT_GAIN_CHANGED:
emit InputSignalChangedDecibel( ratio_to_db20( pEvent->dVolume ) );
break;
case CVAEvent::VA_EVENT_OUTPUT_GAIN_CHANGED:
case CVAEvent::OUTPUT_GAIN_CHANGED:
emit OutputSignalChangedDecibel( ratio_to_db20( pEvent->dVolume ) );
break;
case CVAEvent::VA_EVENT_INPUT_MUTING_CHANGED:
case CVAEvent::INPUT_MUTING_CHANGED:
emit InputIsMutedChanged( pEvent->bMuted );
break;
case CVAEvent::VA_EVENT_OUTPUT_MUTING_CHANGED:
case CVAEvent::OUTPUT_MUTING_CHANGED:
emit OutputIsMutedChanged( pEvent->bMuted );
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment