QC audio HAL handles device rotation

Use the "speaker-reverse" configuration when the device rotation
 requires it. Device rotation is received through a parameter to
 parse.

Bug 9095903

Change-Id: Ie24a625a18e1fc1093f6f564ba0ff0f5cbb5cce0
diff --git a/hal/audio_hw.h b/hal/audio_hw.h
index cb2f817..08426de 100644
--- a/hal/audio_hw.h
+++ b/hal/audio_hw.h
@@ -51,6 +51,7 @@
     SND_DEVICE_OUT_BEGIN = SND_DEVICE_MIN,
     SND_DEVICE_OUT_HANDSET = SND_DEVICE_OUT_BEGIN,
     SND_DEVICE_OUT_SPEAKER,
+    SND_DEVICE_OUT_SPEAKER_REVERSE,
     SND_DEVICE_OUT_HEADPHONES,
     SND_DEVICE_OUT_SPEAKER_AND_HEADPHONES,
     SND_DEVICE_OUT_VOICE_SPEAKER,
@@ -253,6 +254,7 @@
     struct listnode usecase_list;
     struct audio_route *audio_route;
     int acdb_settings;
+    bool speaker_lr_swap;
 
     bool mic_type_analog;
     bool fluence_in_spkr_mode;