audio: fix audio switching

- Removes samplerate hack which fixed input but exposed requirement
  for output downsampling in the event of an core layer samplerate
  reduction. The audio session instance allows bluetooth after the
  daemon initializes, allowing the input samplerate to be correctly
  fetched.
- Sets the audio device to speakerphone or headset at app init and
  when a call is terminated so the ringtone can be heard.

Change-Id: I99ebaca55dfd7295801626b8fa4f64ea24a5abb8
Reviewed-by: Kateryna Kostiuk <kateryna.kostiuk@savoirfairelinux.com>
4 files changed
tree: 028e5ca866d0476830585d89e0c3822ac9431e22
  1. Ring/
  2. .gitattributes
  3. .gitignore
  4. .gitreview
  5. compile-ios.sh
  6. COPYING