Fixes Various Audio Bugs (#198)

* perf graph overlay/checkbox added

* added toggle Chaperone action

* toggle chaperone non-functional

* fixed chaperone toggle action const to once

* Added Proximity Sensor Action back-end, not implemented via logic Until fixed by valve

* added default WMR controller profile

* formated

* formated steamvrtabcontroller.h

* fixed un-intended change

* fixed audio profile Bug w/ changed devices

* fixed name being used as param instead of ID

* fixed loop logic in saveAudioProfile

* audio profile fix WIP defaults OVR integration

* fixed profile Saves, delete logic and mirror logic needed

* fixed QML format, added TODO message

* Fixed Audio Profile Behavior

* fixed qml reference error

* audiodeviceselector changed qml

* Removed some comments

* changed Visibility slider Minimum to 30% (steamVR minimum allowed)

* fixed mirror/playback same issue

* fixed Audio device refresh bug, removed currently un-used proximity logic (commented out)

* removed dead code
This commit is contained in:
ykeara
2019-05-18 11:33:03 -05:00
committed by GitHub
parent 84d5be7771
commit 3d50eb7995
6 changed files with 19 additions and 9 deletions
@@ -51,6 +51,7 @@ void AudioTabController::initStage1()
reloadPttProfiles();
reloadPttConfig();
reloadAudioProfiles();
// TODO Verify new defaults working as intended befoere removing
// applyDefaultProfile();
reloadAudioSettings();
@@ -171,6 +172,9 @@ void AudioTabController::eventLoopTick()
if ( settingsUpdateCounter >= k_audioSettingsUpdateCounter )
{
// Not usable until OpenVR 1.4.x?
// Will require updates to action based system
/*
if ( m_micProximitySensorCanMute )
{
vr::VRControllerState_t controllerState;
@@ -204,6 +208,7 @@ void AudioTabController::eventLoopTick()
}
}
}
*/
vr::EVRSettingsError vrSettingsError;
char mirrorDeviceId[1024];
vr::VRSettings()->GetString(
@@ -759,9 +759,9 @@ void ChaperoneTabController::setBoundsVisibility( float value, bool notify )
{
if ( m_visibility != value )
{
if ( value <= 0.5f )
if ( value <= 0.3f )
{
m_visibility = 0.5f;
m_visibility = 0.3f;
}
else
{