1. 19 Jul, 2019 5 commits
    • Lioncash's avatar
      service/audren_u: Handle audio USB output revision queries in ListAudioDeviceName() · 16730c4c
      Lioncash authored
      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.
      16730c4c
    • Lioncash's avatar
      service/audren_u: Move revision testing code out of AudRenU · b9ebab71
      Lioncash authored
      The revision querying facilities are used by more than just audren. e.g.
      audio devices can use this to test whether or not USB audio output is
      supported.
      
      This will be used within the following change.
      b9ebab71
    • Lioncash's avatar
      service/audio: Remove global system accessors · ed0485c5
      Lioncash authored
      Trims out the lingering reliance on global state out of the audio code.
      ed0485c5
    • Lioncash's avatar
      service/audren_u: Remove unnecessary return value from GetActiveAudioDeviceName() · 7653e4ba
      Lioncash authored
      This service function only ever returns a result and nothing more.
      7653e4ba
    • Lioncash's avatar
      service/audren_u: Report proper device names · 6ecbc6c5
      Lioncash authored
      AudioDevice and AudioInterface aren't valid device names on the Switch.
      We should also be returning consistent names in
      GetActiveAudioDeviceName().
      
      While we're at it, we can also handle proper name output in
      ListAudioDeviceName, by returning all the available devices on the
      Switch.
      6ecbc6c5
  2. 18 Jul, 2019 4 commits
  3. 17 Jul, 2019 2 commits
  4. 16 Jul, 2019 5 commits
  5. 15 Jul, 2019 3 commits
  6. 14 Jul, 2019 12 commits
  7. 13 Jul, 2019 1 commit
  8. 12 Jul, 2019 4 commits
  9. 11 Jul, 2019 4 commits