1
0
Fork 0
forked from suyu/suyu
suyu/src
Lioncash 16730c4c43 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.
2019-07-19 07:55:27 -04:00
..
audio_core Clang format 2019-07-13 01:49:32 +10:00
common shader_ir: Implement a new shader scanner 2019-07-09 08:14:36 -04:00
core service/audren_u: Handle audio USB output revision queries in ListAudioDeviceName() 2019-07-19 07:55:27 -04:00
input_common input_common/sdl/sdl_impl: Correct logging string in SDLState constructor 2019-06-03 16:56:47 -04:00
tests Merge pull request #2583 from FernandoS27/core-timing-safe 2019-06-30 12:54:00 -04:00
video_core Merge pull request #2738 from lioncash/shader-ir 2019-07-18 13:52:01 -04:00
web_service general: Use deducation guides for std::lock_guard and std::unique_lock 2019-04-01 12:53:47 -04:00
yuzu yuzu: Remove setting for using Unicorn 2019-07-11 05:59:13 -04:00
yuzu_cmd yuzu: Remove setting for using Unicorn 2019-07-11 05:59:13 -04:00
yuzu_tester yuzu: Remove setting for using Unicorn 2019-07-11 05:59:13 -04:00
.clang-format
CMakeLists.txt yuzu_tester: Add project subdirectory 2019-06-10 00:03:11 -04:00