Fixes Various Audio Issues. (#185)
* 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
This commit is contained in:
@@ -18,6 +18,9 @@ struct AudioProfile
|
||||
std::string playbackName;
|
||||
std::string mirrorName;
|
||||
std::string micName;
|
||||
std::string recordingID;
|
||||
std::string playbackID;
|
||||
std::string mirrorID;
|
||||
float mirrorVol = 0.0;
|
||||
float micVol = 0.0;
|
||||
bool micMute = false;
|
||||
@@ -103,6 +106,14 @@ private:
|
||||
|
||||
void removeOtherDefaultProfiles( QString name );
|
||||
|
||||
std::string getPlaybackDeviceID( int index );
|
||||
std::string getMirrorDeviceID( int index );
|
||||
std::string getRecordingDeviceID( int index );
|
||||
|
||||
void setDefaultPlayback( int index, bool notify = true );
|
||||
void setDefaultMirror( int index, bool notify = true );
|
||||
void setDefaultMic( int index, bool notify = true );
|
||||
|
||||
std::vector<AudioProfile> audioProfiles;
|
||||
|
||||
public:
|
||||
@@ -147,6 +158,7 @@ public:
|
||||
void onNewPlaybackDevice();
|
||||
void onNewMirrorDevice();
|
||||
void onDeviceStateChanged();
|
||||
void shutdown();
|
||||
|
||||
public slots:
|
||||
void setMirrorVolume( float value, bool notify = true );
|
||||
|
||||
Reference in New Issue
Block a user