Only derive capture app type if input stream is available

This addresses a runtime crash on msm8998 devices associated with
USECASE_AUDIO_SPKR_CALIB_TX (Speaker protection).

Bug: 62665965
Test: Validated audio playback works.
Change-Id: I3d3672ca817b6a3e7338fa439dec9f7fe3e2438d
1 file changed
tree: 0b5377cb0ab26febab3527792345290633721a1a
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk