audio: Tweaks to hifi record
Allow 24 bit packed hifi record
Add missing hw_interface entries for USB
Add helper function to decide when/if hifi recording is allowed
Test: test playback and capture with and without USB headset
Change-Id: Idd5bcfc7b9970fc6227dc76576ad973fbf840448
diff --git a/hal/msm8960/platform.h b/hal/msm8960/platform.h
index b879c0b..0835378 100644
--- a/hal/msm8960/platform.h
+++ b/hal/msm8960/platform.h
@@ -96,6 +96,7 @@
#define SOUND_CARD 0
#define MIXER_PATH_MAX_LENGTH 100
#define DEFAULT_OUTPUT_SAMPLING_RATE 48000
+#define DEFAULT_INPUT_SAMPLING_RATE 48000
/*
* tinyAlsa library interprets period size as number of frames