summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_debug.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-19 03:56:21 -0400
committerLioncash <mathew1800@gmail.com>2019-07-19 07:55:27 -0400
commit16730c4c4351133c9a27d0b34c5aeb54ac65e9a6 (patch)
tree4e5a6890207e0ae77c6f4f127e75d68f2be797f9 /src/yuzu/configuration/configure_debug.cpp
parentb9ebab71beaf9afc74788368846086a9c4648f4b (diff)
service/audren_u: Handle audio USB output revision queries in ListAudioDeviceName()
Audio devices use the supplied revision information in order to determine if USB audio output is able to be supported. In this case, we can only really handle using this revision information in ListAudioDeviceName(), where it checks if USB audio output is supported before supplying it as a device name. A few other scenarios exist where the revision info is checked, such as: - Early exiting from SetAudioDeviceOutputVolume if USB audio is attempted to be set when that device is unsupported. - Early exiting and returning 0.0f in GetAudioDeviceOutputVolume when USB output volume is queried and it's an unsupported device. - Falling back to AHUB headphones in GetActiveAudioDeviceName when the device type is USB output, but is unsupported based off the revision info. In order for these changes to also be implemented, a few other changes to the interface need to be made. Given we now properly handle everything about ListAudioDeviceName(), we no longer need to describe it as a stubbed function.
Diffstat (limited to 'src/yuzu/configuration/configure_debug.cpp')
0 files changed, 0 insertions, 0 deletions