audio: Change to new compress API that takes sample rate in Hz

Latest ALSA compress API takes the sample rate in Hz instead of
as an ALSA rate bitflag.

Change-Id: Id53eab8444fbe0f6fd506eae9e5e76cca94ac6a0
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
diff --git a/audio_hw.c b/audio_hw.c
index d13649b..12888e5 100644
--- a/audio_hw.c
+++ b/audio_hw.c
@@ -952,7 +952,7 @@
     memset(&codec, 0, sizeof(codec));
     codec.id = SND_AUDIOCODEC_PCM;
     codec.ch_in = in->common.channel_count;
-    codec.sample_rate = compress_get_alsa_rate(in->common.sample_rate);
+    codec.sample_rate = in->common.sample_rate;
     codec.format = SNDRV_PCM_FORMAT_S16_LE;
 
     /* Fragment and buffer sizes should be configurable or auto-detected